How do I open Fedora 19 without a user password?

My user name is mz2, and I want to login without a password.

  • Hi, could you please try and add a bit more detail to your Q? It's unclear what exactly it is you're looking for. – slm Jun 16 '14 at 16:59
  • 2
    Note that this is almost never a good idea. Even on a single user machine in your own home. – Shadur Jun 16 '14 at 20:35

According to the passwd man page:

-d     This is a quick way to delete a password for an account. It will
          set the named account passwordless. Available to root only.

so you can do this (as root):

passwd -d mz2

then you can login without a password

  • 1
    @cuonglm's approach below is much better as it does not result in a passwordless profile. – tresf Sep 16 '16 at 19:41
  • 2
    Passwordless profile is not ideal. Can't ssh into it. – Leo Ufimtsev Dec 19 '18 at 3:04

You can do it two ways:

  1. Open System Settings => Users => Click icon Automatic Login

  2. Edit /etc/gdm/custom.conf, add theses lines:

  • 1
    In GNOME Shell 3.2 the setting is found under System Settings --> Details --> Users – con-f-use Dec 17 '17 at 15:05

In Gnome, you can follow these steps.

Click ..

  1. Activities - Show Applications - Settings - Users.

Here you will see your users details for login.
Make the password - None.
Automatic Login - ON.

Then restart the PC. Problem solved.

  • No doesn't work. And you can't make the password empty on latest Fedora – Lothar Apr 17 '17 at 15:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.