Login as a root from GUI Fedora 12

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

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

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

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

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 12.

If you are using Fedora 12’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 12

Thanks

Enjoy Stuff from root :) Enjoy Fedora 12 :)

Let me have some feedback. All comments Accepted

Content Protection by DMCA.com

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.


7 Comments »

 
  • Ceco says:

    Thank you for the great tutorial : )
    I tried it with Fedora 15 and it worked perfectly … but still I’m complete noob in Fedora so can I ask you to give me some details about that gdm package and it’s configuration … I’ll appreciate every info or URL : )

  • Tejas Barot says:

    This means you are removing something unusual.

    Read this post perfectly and Follow the steps. Its working and it should work for you. If still its not working for you then get back to me with procedure which you have exactly done.

  • r says:

    showin permission denied unable to login from any account :(

  • Cacboon says:

    Thanks mate keep up the good work :)

  • Vinod says:

    good one. tried and working.

    Thanks Tejas.

  • Muhammad Tahaa says:

    Working cheers :)
    Thanks Man

    Regards
    Muhammad Tahaa

  • Srinandan says:

    Thank you. This method is the best and correct one I have seen so far. Really helped me out.

 

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>


× seven = 14