Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-09-2003, 07:58 PM   #1
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Rep: Reputation: 15
Smile Root Password FORGOTTEN


Re: Red Hat. Need to establish root password. Root password configured during install is "forgotten" due to error.

My directions in Red Hat Dummies says that entering "a" at GRUB will prompt boot command. This fails.

What is the best way to re-establish root password?? I have userID + password only.
Old 08-09-2003, 08:09 PM   #2
Registered: Aug 2003
Location: Mesa, AZ
Distribution: Redhat 9
Posts: 45

Rep: Reputation: 15
so your computer forgot your password, not you?
Old 08-09-2003, 10:06 PM   #3
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Follow these instructions:

When the system has finished booting, you can change the root password by typing passwd at the command line.
Old 08-11-2003, 12:14 AM   #4
Registered: Aug 2003
Location: Santo Domingo, R.D.
Distribution: Ubuntu 14.04 LTS, Xubuntu 14.04 LTS
Posts: 90

Original Poster
Rep: Reputation: 15
Unhappy Lost Root Password; Solution Fails.


1. I assume by Command Line you mean GNOME Terminal?

2. I entered passwd at above and successfully changed it. Actually, I just swapped User passwords and I still do not have Root access to System Settings.

3. The Red Hat link describes Single-User Mode. It says the purpose is if you can boot successfully but not log-in. Well, I can log-in, so it doesn't seem this solution applies to me. If it does apply to me I don't understand the directions. I could be specific but I thnk I'll wait for a response to above. Thanks again.
Old 08-11-2003, 02:06 AM   #5
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
Booting into SingleUser mode is the same as booting into root, the only problem being a lot of services will be disabled. So, all you have to do is boot into single user mode, change the root password and reboot the computer.

For this , just follow the Mathieu has given.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
if the root password is forgotten..... AnimaSola Linux - Software 1 05-31-2005 10:12 PM
How to reset forgotten root password comprookie2000 Linux - Newbie 4 10-28-2004 12:33 PM
forgotten my root password, help amanjsingh Linux - Newbie 16 03-31-2004 09:41 PM
Forgotten my root password Blondie Linux - Newbie 2 12-08-2003 11:50 AM
Mandrake 9 : Forgotten Root Password acadcworks Linux - General 8 12-18-2002 03:41 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration