Friday, December 5, 2008

GDM Root Login in Fedora 10

In Fedora 10 root login is disabled in the gdm welcome screen. In many situations we want to login as root.

So change this.
1. Login as an ordinary User into fedora 10
open terminal
su -
(password for root user)
For Security reasons First Create a backup of the file
cp -a /etc/pam.d/gdm /etc/pam.d/gdm.orig
then open the file
vim /etc/pam.d/gdm
find the line
auth required pam_succeed_if.so user != root quiet
then change the line to
auth required pam_succeed_if.so user quiet
:wq!
Now you can login as root in gdm

Cheers!

No comments:

Post a Comment

Error (MMC has detected an error in a snap-in and will unload it) when you try to launch Windows Firewall with Advanced Security on Local Computer / Server.

Error (MMC has detected an error in a snap-in and will unload it) when you try to launch Windows Firewall with Advanced Security on Local Co...