[techtalk] Forgotten root password

Kelly Lynn Martin kelly at poverty.bloomington.in.us
Mon Feb 28 13:38:01 EST 2000


On Mon, 28 Feb 2000 12:00:22 -0500, Phil Savoie <Phil.Savoie at learnix.com> said:

>Hi All, A friend (no, really) has forgotten his RH6.1 root passwd.
>In Solaris I know how to fix this (boot cdrom -s) but how in RH6.1?
>Any info would be greatly appreciated.

If you have lilo, do boot init=/bin/sh.  You'll get a root shell.
first, mount -o remount,rw /
then,  passwd root
then,  umount -a; sync; reboot

Kelly

************
techtalk at linuxchix.org   http://www.linuxchix.org




More information about the Techtalk mailing list