> From: Raquel [mailto:raq...@thericehouse.net] > Sent: Wednesday, August 19, 2009 5:18 PM > > I have an odd problem that's developed, and have spent all afternoon > trying to figure out what's going on. My web server (running Lenny) is > running and serving pages. However, I cannot login to the server via > SSH or at the console, which means that I cannot apply updates, change > configuration, or even get in to figure out what's going on. > > Any ideas on what happened or on how to get in? I have access to the > physical machine. >
Boot from a Live or Rescue CD, mount your / partition, edit the /etc/shadow file, and delete the password for root. Reboot without the CD, and login with root with no password. Immediately create a password with the "passwd" command. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org