Saturday, February 11, 2012

How to login as root in Fedora Core 14

1. Login as root from terminal

$ su – root

2. change dir

# cd /etc/pam.d

3. edit gdm

# vi gdm
auth required pam_succeed_if.so user != root quiet <------- comment

4. make backup of gdm-password
# cp gdm-password gdm-password.bkp

5. edit gdm-password
# vi gdm-password
auth required pam_succeed_if.so user != root quiet <------- comment

6. logoff and login