Results 1 to 3 of 3
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-10-2005 #1
- Join Date
- Feb 2005
Lost Root Password
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.
- 02-10-2005 #2
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:
chroot /mnt/hda1 passwd root exit
- 02-10-2005 #3