LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Debian - root Password stopped working (http://www.linuxquestions.org/questions/linux-server-73/debian-root-password-stopped-working-842596/)

stascrash 11-05-2010 01:41 PM

Debian - root Password stopped working
 
Hello Guys,
sometime ago i have setup a nice Debian FTP server. and left the company. everything was working fine for about 5 month, administrator was able to login to root, do changes and manage system, etc. Suddenly he told me that he cannot login via PUTTY, the root user and pass say Access Denied.
Looked all over the web for at least a REASON, but did not find anything. I suggested to go and do passwd reset, via runLevel 1. i hope this helps him. But i am still curious why all of the sudden, in a locked down room, where only one person has access root get disabled.. Hacking?

Flyte 11-05-2010 01:57 PM

Just a quick suggestion on my way past.. Did someone disallow root to login via SSH? Can root still log in at the machine its self?

Hangdog42 11-05-2010 03:28 PM

I agree with Flyte, it sounds more like someone decided to implement a more sensible SSH policy. However, if root is lost at the machine itself, then you may have a more serious problem.

stascrash 11-06-2010 03:50 AM

Thanks for ideas,
i only know that putty was not letting in, so ssh is not working, as far as physical login from console, no info on that, waiting...
but why would suddenly stop working? unless some one touched it, i will hit you up with some details, i think that reseting at runlevel1 should help.
but for personal knowledge would want to know.
i know that system was behind a sonic-wall firewall-router, probably with default security config and some ports forwarded

Hangdog42 11-06-2010 07:38 AM

Quote:

Originally Posted by stascrash
only know that putty was not letting in, so ssh is not working

Just in case you're missing a subtle, but very important point, let me ask this....Is putty not working for any user or is putty not working just for root? Any well-managed box should not be allowing root login via ssh, so if root is the only account you're looking at it could be that SSH has been reconfigured so that root is not allowed, but other users are.

Quote:

but why would suddenly stop working? unless some one touched it, i will hit you up with some details, i think that reseting at runlevel1 should help.
Actually if you have been compromised (and at this point that is pure speculation) you'd be better served not to mess with the runlevel (you want to preserve evidence), but rather simply disconnect network access. If you have physical access simply pull the network cable. If you're dependent on SSH, set up the firewall so that SSH is only allowed from trusted IP addresses.

There are lots of reasons why SSH might stop running so until you can figure it out a bit better, don't going doing things without a specific reason.


All times are GMT -5. The time now is 12:15 AM.