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

Re: I forgotten my root's password



Oswald Buddenhagen wrote:
> 
> > Is there a better solution?
> >
> yes! :-))
> at the lilo prompt type (hope, you did not protect lilo with the same
> password ;-)):
> linux init=/bin/sh (possibly also root=/dev/... AFTER init=)
> this will drop you in a password-free root shell.
> then run
> mount -n -o rw,remount /
> to make root writeable. then just passwd and the thing is done.
> remount again in ro mode, hit the reset switch and boot as normal.

Or simply do a 

linux 1 init=/bin/sh root=/dev/... mount rw

No need to rerun the mount command. :-))

-- 
Leonardo Dias
Analista Programador / Analyst Programmer
Catho Online
http://www.catho.com.br



Reply to: