TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [TCLUG:9281] Lost Linux Password
Ben Kochie wrote:
> you cannot recover a root password, however you can overwrite it with a
> new one. easist thing to do is this:
>
> boot up the system:
> at the LILO prompt, type your normal linux load, only tell the system you
> want to use a diferent init program.. say "bash".. note, you will also
> have to tell the system to mount your root filesystem in read-write mode
> otherwise you will have to run this as soon as you get in..
> mount -o remount,rw /
>
> LILO boot: Linux rw init=/bin/bash
> Loading Linux...........
Wouldn't it actually be easier to use the following?
LILO boot: Linux 1
passwd
Or do some distributions actually require a password even under this situation?