How to disable root login in GUI (RHEL5)?
Friends,
please let me know what configuration need to be made so that root user will not be able to log in via gui. I am aware that taking out tty? from /etc/securetty would result in root not able to log in via CLI modes. Similarly what is the configuration needed to make that work in GUI.? thanks. |
Depending on your display manager (GDM here), in /etc/X11/gdm/gdm.conf(-custom), in the "[security]" section, having the "AllowRoot=false" and "AllowRemoteRoot=false" directives?
|
In RHEL5 you should be able to change it in /usr/share/gdm/defaults.conf file.
|
Quote:
Code:
]$ head -5 /usr/share/gdm/defaults.conf |
thanks a lot...Unspawn and chaitanya...!
|
All times are GMT -5. The time now is 11:07 AM. |