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

Re: Recover root password



On Wed, 12 Jun 2002, Antonio Mu?oz-Flores wrote:

> Is there something I can do to recover the root password or for logging
> as the root user without having to reinstall Debian?

If you didn't create a bootdisk when you installed, download tomsrtbt from

http://www.toms.net/rb/

and create a bootdisk.  (It's a useful thing to have around anyway.)

Then boot the tomsrtbt system, mount your linux partition, edit
/etc/shadow and remove the encrypted root password.  Then reboot your
system, login as root (which now won't require a password), and use
'passwd' to reset root's password.

This is all from memory and untested!!

Patrick

-- 
Patrick Wiseman
pwiseman@mindspring.com
Linux user #17943


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: