Ask Your Question
0

how to login as root in fedora 14

asked 2013-03-03 10:13:31 -0600

miken52 gravatar image

updated 2013-06-03 22:06:51 -0600

How do I login as root in fedora 14?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2013-03-03 11:20:44 -0600

hhlp gravatar image

updated 2013-03-03 11:21:38 -0600

WARNING :- Its not at all good to login as root from GUI. It’ DANGEROUS. BUT if some one wants to know that how to login as a root from GUI then follow the instructions.

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.

edit flag offensive delete link more

Comments

Worth pointing out that Fedora 14 is long dead. I'd recommend using a current release for best results :)

FranciscoD_ gravatar imageFranciscoD_ ( 2013-03-03 18:54:30 -0600 )edit

Thank you FranciscoD for your instructions, as for using Fedora 14, I am a student and this is the version my instructor chose for us to use. The learning curve is very steep but I am slowly climbing the hill. miken52

miken52 gravatar imagemiken52 ( 2013-03-05 08:31:33 -0600 )edit

Question Tools

Stats

Asked: 2013-03-03 10:13:31 -0600

Seen: 30,425 times

Last updated: Jun 03 '13