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 user != root quiet

then change the line to

auth required user quiet


the you can login as root in gdm



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.

ranjith siji

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


%d bloggers like this: