Enable ROOT Login for GUI in Fedora 12 !!!

Dec-24th-2009

Login as a root from GUI in Fedora 12 !!!

In Fedora 12 You cannot login as a root from GUI. By Default, only Normal users are allowed to login from gui mode.

If You want to login as a root from GUI in Fedora 12 then you have to edit something like 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 :- [map007@linuxsurgeon]$ su – root
Password:-

Step 2:- Now go to your /etc/pam.d/ directory.

[root@linuxsurgeon]# cd /etc/pam.d/

Note:- First take a backup of gdm file.

cp gdm gdm.bkp ( 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.

[root@linuxsurgeon pam.d]# vi gdm

Find and Comment or remove this line into your gdm file auth required pam_succeed_if.so user != root quiet

Step 4 :- Save & Exit From that File. ( In Fedora10 Till step 4 is enought to Login as a root from GUI but for Fedora 12 you need one more file to edit otherwise you cannot Login as a root even though you edited gdm file).

Step 5 :- Here is the additional file that you need to edit and that file name is gdm-password. Open gdm-password file in your favourite editor. I am using vi as my editor.

Note:- First take a backup of gdm-password file

cp gdm-password gdm-password.bkp ( always take backup if anything goes wrong you can correct it by original file)

[root@linuxsurgeon pam.d]# vi gdm-password

Find and Comment or remove this line into your gdm file auth required pam_succeed_if.so user != root quiet

Step 6 :- Save & Exit from File. Now Try to Login as a root user. Now you are able to Login as a root user from GUI in Fedora 12.

======================================================================================

Enjoy Linux !!!

Mega World News Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google Yahoo Buzz StumbleUpon Weekend Joy

Add A Comment

*