Solved

Lost root password Fedora Core 6

Posted on 2007-04-05
3
5,346 Views
Last Modified: 2013-12-06
Hello, I am running Fedora Core 6, and I have forgotten the root password!
I no NOTHING about linux, so please anyone who answers give me "step by step" instructions!
Thank you so much
0
Comment
Question by:mrbodjagles
  • 2
3 Comments
 
LVL 4

Accepted Solution

by:
cheesygit182 earned 500 total points
ID: 18861414
Hi, that is a very common mistake among new linux users... In fact, I did that myself when I first installed SuSE 6.4...
Here is a step-by-step guide on how to regain access to your root password:

Put the #1 Fedora CD-ROM into the CD-ROM drive.
Restart the computer.
At the installation boot prompt(the "boot:"), type "linux rescue" and press enter.
Once you have the console prompt( that is, [xxx@xxx ~]$  ) type "passwd root" and press enter.
Hopefully, you can enter a new password here, and press enter.
Once done, you remove the CD-ROM, reboot, and log in as root with your new password...

~cheesygit182
0
 

Author Comment

by:mrbodjagles
ID: 18875547
Cheesy, you got me on the right track, just a few changes.

1.  Put the #1 Fedora CD-ROM into the CD-ROM drive.
2.  Restart the computer.
3.  Press "F5"
4.  At the installation boot prompt(the "boot:"), type "linux rescue" and press enter.
5.  do a "chroot /mnt/sysimage" at the command prompt
6.  Once you have the console prompt( that is, [xxx@xxx ~]$  ) type "passwd root" and press enter.
7.  Once done, you remove the CD-ROM, reboot, and log in as root with your new password...
That's it!

Thanks for your help!
0
 
LVL 4

Expert Comment

by:cheesygit182
ID: 18878562
glad i could help.
thanks for reiterating my instructions; i've never used fedora core myself, but I'm sure they will be helpful to somebody else in your situation.

~cheesygit182
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

1. Introduction As many people are interested in Linux but not as many are interested or knowledgeable (enough) to install Linux on their system, here is a safe way to try out Linux on your existing (Windows) system. The idea is that you insta…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now