Now I am going to show how to enable root login in Fedora 14. After installation of Fedora 14 it doesn’t allow root login for security purpose. Manually we have to enable it.
Step 1: Open terminal (Application->Accessories->Terminal)
Step 2: Log as root in terminal. type “su” then it will want the password and enter the password.
Step 3: Change the present directory to /etc/pam.d. For this type “cd /etc/pam.d”
Step 4: Open gdm file in Vim text editor in the terminal. Command “vi gdm”
For Step 1-4 your terminal should be as following image:
Step 5: After Step 4 Terminal will be as follow
Step 6: Type the i key of the keyboard, this will take this to the editing mode. You will be able to see “–Insert–” in the down of the window as marked by follow.
Step 7: take the cursor to the line 3 (auth required pam_succeed……) delete the line or comment the line with # which I do in following image.
Step 8: Now to save and edit firs press the ESC key to enter command mode. Then to save and quit type “:wq” as image and press Enter.
Step 9: Now in the same way open the gdm-password file and comment or delete the 3rd line (auth required pam_succeed _if.so….)
Step 10: In the same way of step 8 save and exit this. now type exit and log off from your account and login in root account.
Thanks
Enjoy stuff from root.
it doesn’t work
could u pls tell where did u face problem?
In my system it worked properly.
thanks.
Thanks a lot! It works!
U are most welcome
Great, Thanks …I have never seen such a good tutorial in my life. It is not only true step by step but easy also. Either tutorial if give such level of content skips the basic insert and save things. and the tutorial that provide insert , save etc does not has this level of depth. The beauty of this tutorial is that it contains both. I have no words, marvelous job done by providing this tutorial.
Thanks
Thank u very much.
I have read your all tutorial blogs. you really rock yaar.
They are all very good , sophisticated and very comprehensive.
thanks a lot and i really looking forward to follow you.
please do let me your upcoming blogs and guidance regarding
your favorite blogs of other people blogs like yours.
Thank u very much. and to know about new posts u may subscribe my blog, again thanks a lot.
Pingback: How to login as root on Fedora 14 from console
hi,
I cannot log in as root in fedora 14.Everytime I enter su it gives “su: cannot set groups: Operation not permitted”..How to solve this.I cannot use chmod since I cant get to root.Please help me.
Many Thanks for reminding me about pam.d :).. This also works for the problem of fedora crash, if ur system sometime crashed when u were running ‘su’ from the terminal. You might face a problem on next login, which doesnt allow to run as superuser.. To be specific u might see something like this ‘su: cannot set groups :Operation not permitted’
In that case this is a good solution, to login as root and change permissions to /bin/su (chmod u+s), which otherwise u cannot..
Thank you Mr. razibdeb It works. I have a question: Which version of linux is better to work with? actually I’m a physicist and wanna run Quantum-Espresso on it .
Pingback: how to login to fedora as root
Pingback: how to login to fedora 17 as root
Itz showing no such file or directory when i type cd/etc/pam.d
Thank you very much for your technical guidance