Solved

Lost root password Fedora Core 6

Posted on 2007-04-05
3
5,357 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Are you sitting there reading this and wondering how to get started with Linux? It almost seems like picking the right Linux distribution is about like picking the right college or buying a new car if you read some of the article out there. Relax… l…
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 …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

752 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