LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Reply
 
Search this Thread
Old 11-18-2003, 10:44 PM   #1
eye
Member
 
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 10:50 PM.
 
Old 11-18-2003, 11:39 PM   #2
TGNExtendedGame
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, 12:02 AM   #3
pineappleshirt
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

passwd

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

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, 08:14 PM   #5
darthtux
Senior Member
 
Registered: Dec 2001
Location: 35.7480 N, 95.3690 W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070

Rep: Reputation: 45
Quote:
Originally posted by rooman

"initlevel x" is in which file? (rh)
What initlevel for single user boot, for passwd command?
http://www.starnetok.net/~jallen/how...vel-howto.html
 
Old 11-21-2003, 08:30 PM   #6
Mathieu
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.
http://www.redhat.com/docs/manuals/l...ng-single.html

Once the system is booted, change your root password using the passwd command.
Type:
Code:
/usr/bin/passwd
 
  


Reply


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 12:02 AM
Auto-login (root account) sammykrupa Linux - Newbie 3 07-30-2005 11:27 PM
lock root account after 3 login attempts - RHEL AS 3 jrparker2005 Red Hat 1 05-17-2005 12:43 PM
root account cann't login ringerxyz Linux - Newbie 7 02-02-2005 06:53 PM
Unable to login using non-root account saxophobe Linux - Security 4 06-28-2004 08:58 AM


All times are GMT -5. The time now is 04:37 PM.

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