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

Re: I forgotten my root's password



> 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.

regards

-- 
Hi! I'm a .signature virus! Copy me into your ~/.signature, please!
--
Real programmers don't comment their code.
It was hard to write, it should be hard to understand.
--
Become part of the world's biggest computer cluster - 
join http://www.distributed.net/



Reply to: