-
Lost Root Password
Hello all,
I am very new at linux and the entire command interface so I am here to ask for your step by step assistance. I have lost the root password on a server that my buddy had setup. He is gone away for an extended period of time and I need to access the server. I have the machine and also all three of the latest Mandrake disks.
I have tried to search for a step by step, but have found nothing. Can anyone help me please. The sites that I am running on there are not working since a power outage (no UPS yet) so I need to get in an make sure things are running properly.
Thank you in advance.
-
I'll trust that you have his permission? ;)
Boot up from the Mandrake disc, and choose a "recovery console" or something similar
When you are dropped to a bash prompt, mount the drive where linux is installed, in this case let's say "/dev/jhda1" and you mounted it on "/mnt/hda1". Do:
Code:
chroot /mnt/hda1
passwd root
exit
-lakerdonald
-