Sunday, January 24, 2010

GUI root Login

Fedora 12 by default doesn't allow someone to login as root through GDM. Instead you have to login as a normal user and become root through your terminal. However many users still want to login as root.

Open a terminal and type:

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

Here find the following line
auth required pam_succeed_if.so user != root quiet
and comment it like this
#auth required pam_succeed_if.so user != root quiet
Save the file and logout.

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

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

Now you can login as root. Don't forget, it's not a good idea to login as root.


No comments:

Post a Comment