[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cannot Login



On Wed, 19 Aug 2009 17:18:22 -0700
Raquel <raquel@thericehouse.net> wrote:

> 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 Debian
> 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.
> 

Okay.  I got into the machine by following this site:
http://www.debiantutorials.orgd/reset-root-password-debian-gnulinux-etch-286

EXCEPT that I couldn't run the passwd command.  I rebooted again and
edited the line suggested only making an additional change, changing
the "ro" to "rw", then edited the /etc/passwd file using nano,
removing the "x" from the line for root and rebooted again.  I was
able to login to the console using no password for root and reset the
root password and my personal password.

I'm still getting the errors about not being able to load the
ssh_host_key.

That's where I am and that's what I'm now working on.

-- 
Raquel
============================================================
The test of a government is not how popular it is with the powerful
and privileged few but how honestly and fairly it deals with the many
who must depend on it.

  --President Jimmy Carter


Reply to: