Forget Root Password

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
zaigham_tt
Havaldaar
Posts: 142
Joined: Fri Sep 22, 2006 8:33 pm
Contact:

Forget Root Password

Post by zaigham_tt »

Hi. salam i forgot my root password how can i recover it plz plz help me... :cry:
turab
Company Havaldaar Major
Posts: 154
Joined: Thu Dec 15, 2005 3:36 pm
Contact:

Post by turab »

Salam zaigham,
If you are using grub as a boot loader you can choose "e'' when the menu displays to edit the boot parameters. Just select the kernel line for the kernel you want to boot. Go to the end of that line and type "single" as a separate word, then press ENTER to exit the edit mode. Once back at the GRUB screen, press "b" to boot into single user mode. when you entered in single user mode type
# passwd root
this is how you can reset your root password.
Regards,
Turab
Good Judgement comes from Experience and Experience comes from bad Judgement!!
The more I know, the more I realize I don't know!?
The easiest way to find out is to try it!!!
assumption is the mother of all f*** ups

Register Lynx user # 425340
Post Reply