GDM Root Login in Fedora 10

sponsored

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

sponsored

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

the you can login as root in gdm

sponsored

2 comments

  1. I would say it is not an easy solution, having to edit pam configuration by hand (it is so sensitive and any mistake would lock you out). There should be an easy option to configure it in gui – easily accessible from the main menu like debian provides.

  2. Praveen , That is very risky. Editing pam by manualy. But in fedora 10 the gui configuration form new login manager (GDM ) is not available now. that is why i posted this.
    If Anyone doing this editing . Becarefull!!!

Leave a Reply