General discussion

Locked

Linux Redhat 6.1

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

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Linux Redhat 6.1

by andic In reply to Linux Redhat 6.1

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 !

Collapse -

Linux Redhat 6.1

by mas_moe In reply to Linux Redhat 6.1

The question was auto-closed by TechRepublic

Collapse -

Linux Redhat 6.1

by ptolomei In reply to Linux Redhat 6.1

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

Collapse -

Linux Redhat 6.1

by mas_moe In reply to Linux Redhat 6.1

The question was auto-closed by TechRepublic

Collapse -

Linux Redhat 6.1

by anp04 In reply to Linux Redhat 6.1

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.

Collapse -

Linux Redhat 6.1

by mas_moe In reply to Linux Redhat 6.1

The question was auto-closed by TechRepublic

Collapse -

Linux Redhat 6.1

by Frantzcy In reply to Linux Redhat 6.1

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

Collapse -

Linux Redhat 6.1

by mas_moe In reply to Linux Redhat 6.1

The question was auto-closed by TechRepublic

Collapse -

Linux Redhat 6.1

by mas_moe In reply to Linux Redhat 6.1

This question was auto closed due to inactivity

Back to Linux Forum
9 total posts (Page 1 of 1)  

Operating Systems Forums