Fedora 10 Enable GUI Login for Root

Scenario / Question:

How do I login as user root on Fedora 10 GUI

Solution / Answer:

Edit the PAM module called pam_succeed_if.so

Edit /etc/pam.d/gdm

Login in as a regular user and open a Terminal (Applications > System Tools > Terminal) and su to root:

$ su -

Change the file /etc/pam.d/gdm using VIM

vi /etc/pam.d/gdm

OR

Change the file /etc/pam.d/gdm using GEDIT

gedit /etc/pam.d/gdm

Comment out the line “auth       required    pam_succeed_if.so user != root quiet” by adding the prefix #

#auth       required    pam_succeed_if.so user != root quiet

Save and Exit the file.




Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
Fabio Milano has written 79 articles for us. Fabio Milano is a certified RHCE, MCP, and CFOI. He runs an IT consulting and services company called RDS Support inc. Website:http://www.rdssupport.com
The information provided is for educational purposes only. All content including links and comments is provided "as is" with no warranty, expressed or implied. Use is at your own risk and you are solely responsible for what you do with it.

No Comments

Leave a reply