I use Fedora and have forgotten my root password. Is there any way I can recover or reset my root password? Please help me, as I am unable to install packages on my system.
I use Fedora and have forgotten my root password. Is there any way I can recover or reset my root password? Please help me, as I am unable to install packages on my system.
You can reset the root password by logging into single user mode, which is also called a rescue mode. To log in to the single user mode, follow the steps given below. As Fedora uses GRUB, I will give the steps only applicable to GRUB:
1. Start your computer and select the 'Fedora on GRUB' menu.
2. Now press the E key to edit the parameters.
3. Select the line starting with the word 'kernel' (generally the second line) and press the E key again to enter the edit mode.
4. Append S at the end of the line and hit the Enter key.
5. Now press the B key to boot into single user mode. After booting you get a prompt where you need to type the following:
passwd
now, just enter the new password you want for your root account. Reboot and you are done.
Last edited by brendin44; 12-18-2008 at 07:10 AM.
Bookmarks