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

Re: Unidentified subject!



Antonio Mu?oz-Flores wrote:

Hello everybody,

I'm new to Debian and I just forgotten the root password so I can do many administrative task. Does anybody know how to recover the root password?

Antony

If you have sudo installed (you *do* have it installed, don't you?) and have your user configured with enough permissions, you might can simply "sudo passwd root". I've never tried it; it may not work on the root account, but it's worth a shot.

Otherwise, at the LILO prompt, enter "linux init=/bin/bash" (assuming quite a few things); this might get you in with enough permissions to "passwd" as root.

As a last resort, you can repeatedly kill the power during boot-up. Eventually you'll corrupt the / file system enough that it can no longer read enough of the system to ask for a password. Of course, by that time, you may have corrupted the root file system beyond repair, but if you have separate partitions for everything else, you should be able to get to your data. As I said, this is a last resort.

Kent




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



Reply to: