How To Enable root Login at Graphical in Fedora 13

on June 3 | in Linux | by | with 14 Comments

In this howto i will describe how to let root user to Graphical Login in Fedora 13. From Fedora 10 it was disable by default to let it login from GUI.We will be configure pam authentication files gdm and gdm-password respectively.

vi /etc/pam.d/gdm

find following line

auth       required    pam_succeed_if.so user != root quiet

comment out by placing # at beginning to disable this check

#auth       required    pam_succeed_if.so user != root quiet

save and close the file.

vi /etc/pam.d/gdm.password

find following line

auth       required    pam_succeed_if.so user != root quiet

comment out by placing # at beginning to disable this check

#auth       required    pam_succeed_if.so user != root quiet

save and close the file. Now logout from terminal or GUI and relogin with root from GUI.

pixelstats trackingpixel
Pin It

related posts

14 Responses to How To Enable root Login at Graphical in Fedora 13

  1. Muhammad Imran says:

    Nice tip dude…keep it up

  2. moki says:

    I have the same problem but cannot change the pam.d file. It does not allow me to make the change.When I check under properties/permissions, I see that I have to be root in the first place to make the change!

  3. @moki: this blog is to make the root user to login from GUI because in fedora 13 it was disable and root cannot login from GUI. You need to login as user and then switch to root for any work.
    But for all administrator work you need to be root and its not any hack, its to enable feature to login as root not as normal user.
    ————–
    Regards,

  4. Matt says:

    In Fedora 13 the password file is:
    vi /etc/pam.d/gdm.password

  5. Matt says:

    Sorry for the repeat post, correction

    In Fedora 13 the password file is:
    vi /etc/pam.d/gdm-password

  6. Thanks man, in the previous versions like 10 u only needed to edit gdm.

    Thanks for the tip

  7. Shine Paul says:

    sudo gedit /etc/pam.d/gdm

    and

    sudo gedit /etc/pam.d/gdm.password

    will work when sudo vi not

  8. Juan says:

    bien este si esta completo, para iniciar como root en Fedora

  9. Fari says:

    I am unable to find gdm and gdm.password in fedora 14 🙁

  10. Shine Paul says:

    pls check ur path is correct

  11. Gagan says:

    Thanks mate

  12. SaGar says:

    Thanks dude really nice tip.. keep it up

  13. alex says:

    super notes

Leave a Reply

Your email address will not be published. Required fields are marked *

« »