[techtalk] Forgotten root password

Kelly Lynn Martin kelly at poverty.bloomington.in.us
Mon Feb 28 16:56:32 EST 2000


On Mon, 28 Feb 2000 18:45:26 +0000, Rik Hemsley <rik at kde.org> said:

>Reboot.  At LILO prompt, enter 'linux init=/bin/bash' When you hit
>the bash prompt, change the password (type 'passwd')

If you boot with init=/bin/bash, the root file system is mounted
read-only.  You must remount it read-write before you try to do
anything that would change it (like, for example, change root's
password).  Just a little detail that could be confusing to the
first-time /bin/bash booter. :)

Kelly

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




More information about the Techtalk mailing list