Linux Redhat 6.1
I have Linux RedHat 6.1 in my server, suddenly everyone can't log on to server except root ?
Thank for the attention.
1
Linux
I have Linux RedHat 6.1 in my server, suddenly everyone can't log on to server except root ?
Thank for the attention.
1
by andic
You need the file /etc/securetty (maybe have bean erased)
il looks like that:
tty1
tty2
.
.
.
that file conten the tty's that the root can log in.
if is empty, the root cannot log in ...
but, you have to log in to create-it ...
try boot in single mode or try at the LILO prompt
LILO: linux(or your boot image) init=/bin/bash
it will give you a root shell.
Good luck !
by mas_moe
by ptolomei
Check if you have file /etc/nologin and delete it if it's there. This file denies
all but root logins (man nologin for details).
Senko
by mas_moe
by anp04
Check the /etc directory for files called nologin. If it exists, delete it or remane it.
Also check, if the file usertty exists in the /etc. if it exists, check it contents. Also check for the file .hushlogin, which provides a silent login to the system.
by mas_moe
by frantzcy
you mean, only root can logon...
then I would say
check your /etc/passwd file, there could be a blank line right after the root info line.
frantzcy
by mas_moe
by mas_moe
This discussion is closed to new replies.
Sort by Trending