lost password
Results 1 to 8 of 8

Thread: lost password

  1. #1
    Join Date
    Sep 2003
    Location
    mass
    Posts
    134

    lost password

    this will probably sound really idiotic... probably because it is... i seem to have forgotten the root password for my version of red hat 8.0

    is there any kind of utility to get it back???

    PSP, its like cheese you can listen to outside

  2. #2
    Join Date
    Apr 2000
    Location
    UT, USA
    Posts
    463

    Single User Mode

    You can do this fairly easy by booting into single user mode from lilo (the boot screen).

    Reboot the machine, and then hit a key to keep LILO from booting automatically. Then bring up a LILO prompt and type in linux single to boot into single user mode. Then from a prompt type passwd and change the root password. Then just type in reboot and you should be good.

  3. #3
    Join Date
    Sep 2003
    Location
    mass
    Posts
    134
    im new to linux so step by step instructions may help ALOT!

    THX!!!

    PSP, its like cheese you can listen to outside

  4. #4
    Join Date
    Apr 2000
    Location
    UT, USA
    Posts
    463
    No Problem...though I'm not using RedHat, nor do I have LILO installed. I know that RH8 uses it though.

    You cant recover that password, but you can change it by rebooting your machine into single user mode. There isn't a gui in this mode ....command line only. From there it is a simple command to change the password.

    So do this
    1. Reboot your linux machine
    2. From the LILO screen (the screen that appears as your computer is booting up) press ctrl+x to get to the lilo prompt.
    3. At the prompt type in linux single and hit enter.
    4. At this prompt type passwd and then enter the new password.
    5. Type reboot and you are done.

    Let us know how it goes!

  5. #5
    Join Date
    Sep 2003
    Location
    mass
    Posts
    134
    im still having problems!!!

    when my computer starts it loads the BIOS and the my boot manager runs (GRUB), i tried pressing ctrl+x there... nothing

    (it boots win xp pro and redhat)

    i had it boot into linux, it showed a bunch of boot things (like testing hardwareand other things) in an automated non-GUI environment and durring the entire boot sequence i was pressing ctrl+x as fast as i could... nothing!

    im so confused!!!

    if you have aol instant messenger just im me and it will be alot easier.
    my screen name is "yoshiman1624"
    Last edited by devilmaycry4187; January 9th, 2004 at 01:00 AM.

    PSP, its like cheese you can listen to outside

  6. #6
    Join Date
    Apr 2000
    Location
    UT, USA
    Posts
    463
    K..so you have GRUB instead of LILO.

    The instructions are the same, except how to boot into single user mode. CTRL+X is for LILO. You did good though!

    Heres what to do: (quoted from here )
    If you are using GRUB, use the following steps to boot into single-user mode:

    1. If you have a GRUB password configured, type p and enter the password.
    2. 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.
    3. Select the line that starts with kernel and type e to edit the line.
    4. 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.
    5. Back at the GRUB screen, type b to boot into single user mode.
    From there linux will boot to a prompt and you can use the passwd command and reboot. Let us know how it goes from there!

  7. #7
    Join Date
    Sep 2003
    Location
    mass
    Posts
    134
    IT WORKED!!!!!!!!!
    thanks alot! i got the new psswrd all set up and i didnt have to RE format!!!
    THANK YOU SO MUCH!!! THIS SITE RULES!!!

    PSP, its like cheese you can listen to outside

  8. #8
    Join Date
    Apr 2000
    Location
    UT, USA
    Posts
    463

    Thumbs up

    Glad it worked! Glad to help as well

    (makes me think about that grub password now)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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