Results 1 to 6 of 6
Hi I am a newbie and installed RHEL6 beta.I want to login as root user because there are somefiles I can't change via Terminal even though I used su- to ...
- 06-12-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
RHEL 6 root login
Hi I am a newbie and installed RHEL6 beta.I want to login as root user because there are somefiles I can't change via Terminal even though I used su- to run the command as root user..
I tried to change gdm as root user via :#gedit /etc/pam.d/gdm and changed one line to :
#auth required pam_succeed_if.so user != root quiet.
I restarted my computer but still could not login as root user..
Is there something I am missing to get the root user login with GUI
Thanks for your help
- 06-12-2010 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Did you install with SELinux extensions enabled?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 06-14-2010 #3New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 06-14-2010 #4Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
yes,SElinux extensions are enabled.Is there something that I have to look at in SElinux management?
- 06-14-2010 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
SELinux configuration is non-trivial. Read the documentation carefully. You will find what you need there.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 02-24-2011 #6Just Joined!
- Join Date
- Feb 2011
- Location
- Nepal
- Posts
- 1
@McKinon..
You did was correct but u need to do one more edit in the /etc/pam.d/gdm-passwd file.
================
[root@ispexperts.com.np pam.d]#vi gdm-password
Find and Comment or remove this line into your gdm-password file like this:
#auth required pam_succeed_if.so user != root quiet
Save & Exit from File. Now Logout and Try to Login as a root user. Now you are able to Login as a root user from GUI
=====================
That'z it..
U will get a security error message - boss just ignore it N u r done.
More u can get on :
www dot ispexperts dot com np /?p=744&preview=true&preview_id=744&preview_nonce=4 998de4659
==================Last edited by abhandari; 02-24-2011 at 06:32 AM.



