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
Solved

Lost root password Fedora Core 6

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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

After running Ubuntu some time, you will be asked to download updates for fixing bugs and security updates. All the packages you download replace the previous ones, except for the kernel, also called "linux-image". This is due to the fact that w…
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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