enable root can login directly
In my system , the root user is not allow to login directly , but can "su - root" by another user , I want to disable it so that root can login directlly , i tried to disable the below line in /etc/group , but still not work , would advise what can I do ? thanks
wheel:x:12:root |
Hi there,
Quote:
Code:
sudo passwd root [X] Doc CPU |
If you're logging in via SSH then you'll also need to check your sshd_config and ensure:
Code:
PermitRootLogin Yes |
Thanks ,
we use RH 5 I checked root user have password . root:fjasdfU7h%gfxkL5R4E:16422:0:99999:7::: Quote:
|
Check your /etc/login.defs file.
|
Red Hat disables root-login for the GUI for very good reasons, and the hacks need to enable it are not safe. See this thread (ignoring the off-topic bits in the middle)
http://www.linuxquestions.org/questi...-a-4175509009/ |
Quote:
BUT this is the very very old and antique RH5 rh5.0 was released in 1997 i am suprised that the almost 20 year old ( 18 year) hardware and OS are still working rh5 is 4 full generations out of date and is older that Win98 this predates the redhat blocking on RHEL 7.0 on the CURRENT RHEL 5.11 RHEL 6.6 you can login as root into the Gnome2 desktop you are sitting in front of the first thing to do is buy hardware newer than 20 years old then install a modern Operating system contact redhat sales for RHEL 6.6 or RHEL 7.0 https://www.redhat.com/wapps/store/catalog.html |
All times are GMT -5. The time now is 05:34 AM. |