Click to See Complete Forum and Search --> : forgot password


steeldet
11-11-2000, 10:10 AM
I have Linux Mandrake 7.0 on a dual boot and I forgot my username and pass word. Is there any way around this short of formatting & reinstalling? It's been a while, but it seems like I tried to put in the boot floppy and that asked for it also http://www.linuxnewbie.org/ubb/frown.gif

[This message has been edited by steeldet (edited 11 November 2000).]

flar
11-11-2000, 11:01 AM
at the prompt

LILO:

type "linux -s" (of course without the "s)

then it will prompt u for:

bash#

then just issue the command 'passwd' to change the password for root.

http://www.linuxnewbie.org/ubb/eek.gif

ph34r
11-11-2000, 11:18 AM
You can also boot with a single-floppy distro like hal91 and then just mount your / partition and edit /etc/passwd so that there is no root password. Then, reboot to linux, login as root (no password) and change the password using passwd.

m1rr0r
11-11-2000, 11:28 AM
Originally posted by ph34r:
You can also boot with a single-floppy distro like hal91 and then just mount your / partition and edit /etc/passwd so that there is no root password. Then, reboot to linux, login as root (no password) and change the password using passwd.

Where could one find a single-floppy distro such as hal91?