Wednesday, 26 March 2014

If You want to login as a root from GUI in Fedora 14



If You want to login as a root from GUI in Fedora 14 then you have to edit some files which are located to /etc/pam.d/
Open your Terminal from Applications -> System Tools -> Terminal
Now Login as a root from your terminal
Step 1 :
su -
Step 2:- Now go to your /etc/pam.d/ directory.
cd /etc/pam.d/
Then first take a backup of gdm file
cp gdm gdm.bkp
Note : (always take backup if anything goes wrong you can correct it by original file)
Step 3 :- Now Open gdm file in your favourite editor. I am using vi as my editor.
vi gdm
Then comment out (##) or delete the entire highlighted line shown and save the file.
change this :
auth required pam_succeed_if.so user != root quiet
to this :
##auth required pam_succeed_if.so user != root quiet
Step 4 :- Save & Exit From that File.
Step 5 :- Open gdm-password file in your favourite editor.
Then first take a backup of gdm-password file
cp gdm-password gdm-password.bkp
Note : (always take backup if anything goes wrong you can correct it by original file)
vi gdm-password
Then comment out (##) or delete the entire highlighted line shown and save the file.
change this :
auth required pam_succeed_if.so user != root quiet
to this :
##auth required pam_succeed_if.so user != root quiet
Step 6 :- Save & Exit from File.
Log Out and and select Other on the Logon screen and type root for username.