[Ilugc] Root Password

  • From: pkkanchana@xxxxxxx (kanch@xxxxxxx)
  • Date: Thu, 5 Feb 2004 15:18:58 +0530

Hello Senthil,

To enter single-user mode, reboot your computer. Then follow the steps given
below.
 i.  At the boot loader menu, type [e] to enter into editing mode.
 ii. You will be presented with a boot entry listing. Look for the line that
looks similar to the following:
            kernel /vmlinuz-2.4.20-x.y ro root=/dev/hda2
     Press the arrow key until this line is highlighted and press [e].
 iii. Press the Spacebar once to add a blank space, then add the word
"single" to tell GRUB to boot into single-user Linux mode.
     Press [Enter] to make the editing change take effect.
 iv. You will be brought back to the edit mode screen.
     From here, press [b] and GRUB will boot single-user Linux mode.
     After it finishes loading, you will be presented with a shell prompt
similar to the following:
             sh-2.05#
  v.  You can now change the root password by typing
             bash# passwd root

You will be asked to re-type the password for verification. Once you are
finished, the password will be changed. You can then reboot by typing reboot
at the prompt; then you can log in to root as you normally would.

Regards,
-Kanchana

I installed Redhat liinux 9.0 with GRUB as boot loader. The problem is I
forget the "root" password. Tell me how to recover the "root" password.

_________________________________________________________________
Send flowers & gifts. Valentine gift guide.
http://go.msnserver.com/IN/42196.asp At MSN Shopping.

_______________________________________________
To unsubscribe, email ilugc-request@xxxxxxxxxxxxxxxxxx with
"unsubscribe <password> address"
in the subject or body of the message.
http://www.aero.iitm.ernet.in/mailman/listinfo/ilugc



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.576 / Virus Database: 365 - Release Date: 1/30/2004


Other related posts: