Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    1

    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.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    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

  3. #3
    Linux Guru dylunio's Avatar
    Join Date
    Aug 2004
    Location
    Cymru
    Posts
    4,157
    This thread has the awnser to your worries http://www.linuxforums.org/forum/top...=root+password
    Registered Linux User #371543!
    Get force-get May The Source Be With You
    /dev/null
    /dev/null2

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •