Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Red Hat This forum is for the discussion of Red Hat Linux.


  Search this Thread
Old 11-18-2003, 11:44 PM   #1
Registered: May 2003
Distribution: fedora 1
Posts: 137

Rep: Reputation: 15
root password forget.

root password forget. so, home account do login.
can't login into root account.
how to change root password?

Last edited by eye; 11-18-2003 at 11:50 PM.
Old 11-19-2003, 12:39 AM   #2
LQ Newbie
Registered: Nov 2003
Location: NC
Distribution: Red Hat 9
Posts: 1

Rep: Reputation: 0
I do not think there is any way to possibly change your root password without actually being logged in as root. I may be incorrect though.
Old 11-19-2003, 01:02 AM   #3
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
Boot in single user mode.
You will then be able to change root password using command


Hope this helps.
Old 11-21-2003, 04:19 PM   #4
Registered: Mar 2002
Location: Lausanne, Switzerland
Distribution: Mandriva 2007.0
Posts: 233

Rep: Reputation: 30
I have the same problem on a new reinstall of rh8. The login is graphical.
I need to access the root password so as to configure the mouse and bootup.
"initlevel x" is in which file? (rh)
What initlevel for single user boot, for passwd command?
Old 11-21-2003, 09:14 PM   #5
Senior Member
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 47
Originally posted by rooman

"initlevel x" is in which file? (rh)
What initlevel for single user boot, for passwd command?
Old 11-21-2003, 09:30 PM   #6
Senior Member
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
In order to reset your root password, you will need to boot Linux in runlevel 1.

To do this, read the following document.

Once the system is booted, change your root password using the passwd command.


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
How do I retain the PATH in the root account even when I switch to root using su? thearchitect Linux - Newbie 1 08-13-2005 01:02 AM
Auto-login (root account) sammykrupa Linux - Newbie 3 07-31-2005 12:27 AM
lock root account after 3 login attempts - RHEL AS 3 jrparker2005 Red Hat 1 05-17-2005 01:43 PM
root account cann't login ringerxyz Linux - Newbie 7 02-02-2005 07:53 PM
Unable to login using non-root account saxophobe Linux - Security 4 06-28-2004 09:58 AM > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 03:41 PM.

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