How to reset root password in fedora?
by Ryan On June 7, 2009 | Miscellaneous | Hits: 740
Software you need: fedora
Do you always get confused, when you try to login to fedora? You forgot your root password, and you are eager to reset root password. Don't be too dispirited, this article will show you a guide on how to reset root password in fedora.
Now before we start this guide, you should know how to change runlevels, because we will root in runlevel 1 for this purpose. In addition, you'd better to run a standard fedora installation with grub.
Step by step guide: How to reset root password in fedora
Step1 Reboot computer
Step2 Reach in the Kernel selection menu.
When the grub options appear, you can choose the multiple kernels. Then you should press Escape key, you will reach in the kernel selection menu.
Step3 Select the appropriate kernel you want to boot in and press 'a' (without quotes).
After selecting the kernel, you will have a prompt as shown below:
grub append> ro root=LABEL=/ rhgb quiet

Step4 Add '1' to that line.
So the whole prompt line would look something like:
grub append> ro root=LABEL=/ rhgb quiet 1
Step5 Reboot computer
Once booted up, you will get a prompt like:
sh-3.2#
Step6 Change your password
Enter passwd here. passwd is the command used to change the password for a user.
# passwd
Note: The system will ask you for your new password, enter it twice and you are done.
Step7 Reboot computer normally.
Although this tutorial is written for fedora 8, this also work with other releases. You can try to reset root password by this way, if you still have some trouble with this thing, you can post a comment on this article.
Do you always get confused, when you try to login to fedora? You forgot your root password, and you are eager to reset root password. Don't be too dispirited, this article will show you a guide on how to reset root password in fedora.
Now before we start this guide, you should know how to change runlevels, because we will root in runlevel 1 for this purpose. In addition, you'd better to run a standard fedora installation with grub.
Step by step guide: How to reset root password in fedora
Step1 Reboot computer
Step2 Reach in the Kernel selection menu.
When the grub options appear, you can choose the multiple kernels. Then you should press Escape key, you will reach in the kernel selection menu.
Step3 Select the appropriate kernel you want to boot in and press 'a' (without quotes).
After selecting the kernel, you will have a prompt as shown below:
grub append> ro root=LABEL=/ rhgb quiet

Step4 Add '1' to that line.
So the whole prompt line would look something like:
grub append> ro root=LABEL=/ rhgb quiet 1
Step5 Reboot computer
Once booted up, you will get a prompt like:
sh-3.2#
Step6 Change your password
Enter passwd here. passwd is the command used to change the password for a user.
# passwd
Note: The system will ask you for your new password, enter it twice and you are done.
Step7 Reboot computer normally.
Although this tutorial is written for fedora 8, this also work with other releases. You can try to reset root password by this way, if you still have some trouble with this thing, you can post a comment on this article.
Related Articles
Top in All Articles More
Article Categories
Popular Searches More
Most popular searches among our users
Avira
computer boot up problems
computer won t boot up
delete browsing history hangs up in ie 8
How to convert MKV to WMV HD
how to recover windows when computer won t boot up
malware
MKV to WMV HD
MKV to WMV HD Converter
open pptx on linux
open pptx on mac
play mkv format files
pptx files
rebuild Rome Empire with Cradle of Rome
windows startup


© 2009 Softwarehowtos.com - All Rights Reserved Worldwide.