Recover Root Password

Submitted by Anonymous
on August 30, 2007 - 1:42am

hi its praveen .... i hav forgotten root password of Mandrake .
so plz tell me how to recover root password...in easy step bez i m new 4 linux... plz reply soon....

1. Get a knoppix disc (or

A non mouse (not verified)
on
August 30, 2007 - 9:46pm

1. Get a knoppix disc (or any other live cd)
2. Mount your hardrive ( probably mkdir /mnt/otherdrive && mount /dev/hda3 /mnt/otherdrive)
3. chroot into hardrive (chroot /mnt/otherdrive)
4. run `passwd` to change root password
5. Reboot with new password.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.