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

Re: Debian Failure Setting Password



On Sat, Nov 03, 2007 at 08:47:27PM -0700, Redefined Horizons wrote:
> I've run into a problem after I performed the following:
> 
> [1] Changed the password for my root user with the usermod command.
> [2] Changed the password of a non-root user with the usermod command.
> [3] Added a new user with a password using the useradd command.
> 
> After making these changes I could no longer log in as the root user
> or the non-root user for whom I changed the password. I also could not
> log in as the new user. I  tried this with both old and new passwords.
> (All  user names were recognized, but Debian is telling me the
> passwords are incorrect.)
> 
> I booted with the System Rescue CD and followed the advice at this link:

No need for a system-rescue CD since the machine boots.  Just boot with
init=/bin/sh and you're in without a password as root.  Of course, / is
mounted ro so you'll have to remount it.

Use passwd next time.

Doug.



Reply to: