Trick to Login as a root from GUI in Fedora 10
- tejasbarot's blog
- Login or register to post comments
Hi Friends,
In Fedora 10 You cannot login from gui as a root.By Default only users
are allowed to login from gui mode.
If You want to login as a root from gui in fedora 10 then you have to
edit something like this
Go to pam.d directory
cd /etc/pam.d/
then first take a backup of gdm file
cp gdm gdm.bak ( always take backup if anything goes wrong you can
correct it by original file)
after taking backup
open gdm file in your favorite editor from /etc/pam.d/ folder
vim gdm
then you will find one line like this
auth required pam_succeed_if.so user != root quiet
remove != root (this part from line)
After Edit line will look like this
auth required pam_succeed_if.so user quiet (Remember Spaces
are also important)
After edit save file logout and try to login as a root from gui ( if
anything wrong then overwrite your original file from single user
mode )
Now you are able to login as a root from gui.
Friends if i am wrong then sorry for that if any correction in this
then please let me know.
Thanks & Regards,
Tejas Barot