Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I'm having a problem in reset my root password. Somebody have change the password in our server. I have following below instruction: 1.Select Red Hat Linux with the version ...
  1. #1
    Just Joined!
    Join Date
    Nov 2011
    Posts
    1

    Reset root password

    Hi,
    I'm having a problem in reset my root password. Somebody have change the password in our server. I have following below instruction:

    1.Select Red Hat Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you just selected.

    2.Select the line that starts with kernel and type e to edit the line.

    3.Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.

    4.Back at the GRUB screen, type b to boot into single user mode.

    After this instruction, it ask me to enter maintenance password but I don't have it. Can anybody help me on this problem?

    Thank you in advance.

  2. #2
    oz
    oz is online now
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,099
    Hello and welcome!

    Try the following HowTo and see if it works for you:

    http://www.linuxforums.org/forum/lin...-password.html

    If all else fails, you can boot with a liveCD and change it.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.

  3. #3
    Trusted Penguin jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    4,071
    Hi there!

    FWIW, I've used the method involving the LiveCD before. Works quite nicely.
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to Private Messages asking for Linux help. Please, keep it on the public boards.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,975
    Quote Originally Posted by jayd512 View Post
    FWIW, I've used the method involving the LiveCD before. Works quite nicely.
    Just remember, if you do that, then after you login to a command line as root in the LiveCD/DVD environment, you need to mount the original file system and chroot to that. Then you can run the passwd command and it will change the system's root password for you.

    Caveate: this is a good illustration that if you have physical access to a machine, then you can own it!
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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