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, 2014 at 16:59
  • 2
    Note that this is almost never a good idea. Even on a single user machine in your own home. Jun 16, 2014 at 20:35

4 Answers 4


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, 2017 at 15:05

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

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

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, 2017 at 15:32

In addition to Settings -> Users -> Enable Automatic Login

I also went to Privacy -> Screen Lock -> Disable Automatic Screen Lock

Without removing a password from the user account (still needed for sudo/ssh) the computer will automatically login, and stay logged in after the display sleeps.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .