Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Lost root password Fedora Core 6

Posted on 2007-04-05
3
Medium Priority
?
5,363 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 1500 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

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…
This article will explain how to establish a SSH connection to Ubuntu through the firewall and using a different port other then 22. I have set up a Ubuntu virtual machine in Virtualbox and I am running a Windows 7 workstation. From the Ubuntu vi…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

721 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