LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-05-2010, 01:41 PM   #1
stascrash
LQ Newbie
 
Registered: Nov 2006
Location: Chicago, IL
Posts: 29

Rep: Reputation: 15
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?
 
Old 11-05-2010, 01:57 PM   #2
Flyte
LQ Newbie
 
Registered: Dec 2007
Distribution: Fedora, CentOS, Debian
Posts: 23

Rep: Reputation: 2
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?
 
Old 11-05-2010, 03:28 PM   #3
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,778
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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.
 
Old 11-06-2010, 03:50 AM   #4
stascrash
LQ Newbie
 
Registered: Nov 2006
Location: Chicago, IL
Posts: 29

Original Poster
Rep: Reputation: 15
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
 
Old 11-06-2010, 07:38 AM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,778
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sound mysteriously stopped working in Debian preeti_c Linux - Newbie 2 04-11-2009 10:52 PM
Change my root password in Debian Linux if I have the current password? panseluta Linux - Newbie 2 12-28-2008 02:02 AM
Locked screen and password stopped working Catheryn Smoll LinuxQuestions.org Member Intro 2 03-30-2006 10:24 AM
Debian sound stopped working HalfDiminished Debian 7 03-07-2005 12:25 PM
LAN stopped working, XP/Debian ImperiestroMary Linux - Networking 5 12-06-2004 01:49 AM


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

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration