Solved

Lost root password Fedora Core 6

Posted on 2007-04-05
3
5,359 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses

632 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