Discussion Locked

Login problem in Linux

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

I have faced the following problem in my Redhat Linux 6.1 web server. I couldn't login from the console or through telnet. Even the root login failed. But I was able to do ftp over a PSTN dial-up connection using same login and password.

Manish Das

7 replies

by lyons74

Got to the console and reboot the server. When lilo appears type "linux single". This will boot you into the server in single user mode which bypasses the security and give you root access with nothing running.

From here you can change all yourpasswords and do some inspection of daemons and error logs. I suggest an inspection of the /etc/passwd file to see if their are any new accounts or if something like a daemon has login ability. This is a good indication you have had a break in.MJL

by lintadsl

On your telnet issue,
Have you check /etc/inet.conf file?
if there is a # mark before telnet stream tcp ....blah blah. Then take the # mark off.
It will make telnet work from any machines with right user ID and passwd.

I would check what demons are running and kill all what I don't recognize.

Good Luck.

by kevin anderson

Keep in mind also that Root (by default) is not able to login through telnet. Login in as a user, and SU.

Kev.

This discussion is closed to new replies.