Discussion Locked

Linux Redhat 6.1

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have Linux RedHat 6.1 in my server, suddenly everyone can't log on to server except root ?
Thank for the attention.
1

9 replies

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 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 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 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

This discussion is closed to new replies.