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

RE: Cannot login using root password



On Tue, 19 Mar 2002, Panuganty, Ramesh wrote:

> Folks, I have a problem. I cannot login to my debian system using the
> root password but I can login using other users logins. Is there
> anything I can do to regain the ability to login as root other than
> rebuilding the server.Thanks for the help in advance.

Use either something like tomsrtbt to boot in, or reboot, and when you
get LILO, get a prompt and type "linux init=/bin/sh"  You'll have to
mount --remount=rw / to do any writing.  Clear the password for root in
/etc/passwd (or /etc/shadow if you use shadow passwords).

-- 
Baloo



Reply to: