Enable Root login to GUI in Fedora

Star InactiveStar InactiveStar InactiveStar InactiveStar Inactive
 

By default Fedora will not let you login to the GUI as root. Now I am sure there are good security reasons for this, but this is for home use soo....

Fedora 12 uses pam module called pam_succeed_if.so. This module is designed to succeed or fail authentication based on characterstics of the account of the authenticated user. Default configuration of this module blocks root login using GUI. To "fix" this

 

1) Login as a normal user

2) Open the terminal and use vim or gedit to open the /etc/pam.d/gdm

su -c 'gedit /etc/pam.d/gdm''

3) Comment the following line  'auth required pam_succeed_if.so user !=root quiet'

# auth required pam_succeed_if.so user != root quiet

4) Do the same for "/etc/pam.d/gdm-password


Save the file and logout from GUI. Now you can login as root :)