forgot root password!!

Sean Neakums sneakums at zork.net
Sun Aug 19 21:39:23 EST 2001


begin Rasjid quotation:

> Sean Neakums wrote:
>> Assuming your LILO image name is "linux", entering:
>> 
>> linux init=/bin/bash
>> 
>> at the LILO prompt should bring you to a root shell.  I've never tried
>> this, so YMMV.
> 
> The above has the drawback of mounting the root filesystem in readonly
> mode.

# mount -o remount,rw /

> LILO: linux single

The problem with the above is that many distributions ask you for the
root password when you boot in single user mode, which is why I did
not suggest it.

-- 
 /////////////////  |                  | The spark of a pin
<sneakums at zork.net> |   left blank.    | dropping, falling feather-like.
 \\\\\\\\\\\\\\\\\  |                  | There is too much noise.





More information about the linux mailing list