Login as Root on Fedora

Posted: February 4, 2011 in Linux Stuff

  1. Open terminal
  2. type sudo/su –
  3. It will prompt you for root password
  4. Just enter root password
  5. Take backup of files which we are going to edit
  6. To make backup cp /etc/pam.d/gdm /root/Desktop
  7. Now open /etc/pam.d/gdm using gedit or vi text editor, enter:
    vim /etc/pam.d/gdm
  8. comment the line which says:
  1. auth   required    pam_succeed_if.so user != root quiet

9.  save file and quit by typing Esc : wq

10. vim /etc/pam.d/gdm-password

11. Comment the line which say:

auth        required      pam_succeed_if.so user != root quiet

12. repeart step 9

13. thats it!!!!!!

  1. vinod says:

    thanks sandy,

    Your post are helpful for the people just like me who are first in wordpress…..(i don;t know anything 🙂 )

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s