Login as a root from GUI Fedora 11

Hi Friends,

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 steps instructions.

In Fedora 11 You cannot login from gui as a root.By Default only users are allowed to login from gui mode.

I Managed to Login as a root from GUI on Fedora 11. Follow these steps and you will able to Login as a root from GUI on Fedora 11

If You want to login as a root from GUI in fedora 11 then you have to edit something like some files which are located to /etc/pam.d/

Open your Te rminal from Applications -> System Tools -> Terminal

Now Login as a root  from your terminal

Step 1 :- [itsolutions@ask4itsolutions.com]$ su – root
Password:-

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

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

Then 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@ask4itsolutions 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 11 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.

Then 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@ask4itsolutions.com 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 Press CTRL + ALT + BACKSPACE or Logout and Try to Login as a root user. Now you are able to Login as a root user from GUI in FEDORA 11.

If you are using Fedora 11’s Fingerprint Feature to Login as a root from GUI then you need to edit one more file also

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

Then first take a backup of gdm-password file

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

[root@ask4itsolutions.com pam.d]#vi gdm-fingerprint

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 Press CTRL + ALT + BACKSPACE or Logout and Try to Login as a root user. Now you are able to Login as a root user from GUI in FEDORA 11

Thanks

Enjoy Stuff from root :)   Enjoy Fedora 11 :)

Let me have some feedback. All comments Accepted.


VN:F [1.8.1_1037]
Rating: 10.0/10 (7 votes cast)
VN:F [1.8.1_1037]
Rating: +5 (from 5 votes)
Login as a root from GUI Fedora 1110.0107

  • Share/Bookmark

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

11 Comments »

 
  • JungleDust says:

    Thank You! your instructions are great and it works!

    UN:F [1.8.1_1037]
    Rating: 5.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • Thanks, but fedora sux.

    fedora dont have locale purge.

    ridiculous

    UN:F [1.8.1_1037]
    Rating: 1.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: -2 (from 2 votes)
  • flashplayer says:

    Cool!

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • Gary says:

    That is great. Thanks a lot.

    UN:F [1.8.1_1037]
    Rating: 5.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • Alfredo C. Harvey says:

    Thank you very much.
    It is those fine details which make the difference.
    That gdm-password editing ended a headache.

    UN:F [1.8.1_1037]
    Rating: 3.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • [...] on this link to continue reading :-  http://blog.ask4itsolutions.com/2009/06/19/login-as-a-root-from-gui-fedora-11/ Possibly related posts: (automatically generated)10 super-cool Linux hacks you did not know [...]

  • Kenneth Oden says:

    Hello,

    I’ve tried these steps in order to log-on the root user in Fedora 11, without any success. After typing the root password, the message “unable to open session” appears.

    I’ve seen similar forums has mentioned the following:

    “Do you have gdm running as unconfined_t?”

    How do I enable this?

    – Kenneth

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • Tejas Barot says:

    Hello Kenneth,

    Try carefully because most of the people got success.

    UN:F [1.8.1_1037]
    Rating: 3.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • fss says:

    Thanks, I had this problem with fedora 10 as well.
    But once I got past this fedora is great !
    I’m just not a Linux madman its a hell of alot easier for me to setup me SMB and httpd from root, I tried adding myself to wheel group and using sudo from de user account but with no luck… again thanks for your time posting this helpful info..

    UN:F [1.8.1_1037]
    Rating: 0.0/5 (0 votes cast)
    UN:F [1.8.1_1037]
    Rating: 0 (from 0 votes)
  • fss says:

    Kenneth Oden
    dont copy type…
    su root
    your password
    cd /etc/pam.d/
    now i used gedit no vi so
    gedit gdm not vi gdm worked for me anyways may help you to best of luck.

    UN:F [1.8.1_1037]
    Rating: 5.0/5 (1 vote cast)
    UN:F [1.8.1_1037]
    Rating: +1 (from 1 vote)
  • [...] graphically boot for root*** do as:- #vi /etc/pam.d/gdm and comment “#” one line follow this link   Leave a [...]

 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>