LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial 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
 
LinkBack Search this Thread
Old 03-06-2005, 12:47 PM   #1
isaacvimal
LQ Newbie
 
Registered: Feb 2005
Posts: 3

Rep: Reputation: 0
recovering root password


I have a red hat 9 installed in my system. I forget my root password. Is there any way to recover my root password or log in to my system. The only account in my system is the root account.
 
Old 03-06-2005, 03:58 PM   #2
mjuhannus
Member
 
Registered: Sep 2004
Location: Finland
Distribution: Ubuntu 10.04, Debian 5, OpenSUSE 11.3
Posts: 60

Rep: Reputation: 15
This is for debian, but I think it'll be helpful.
 
Old 03-07-2005, 07:58 AM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 620

Rep: Reputation: 30
howzit

all u need is to reboot into single user mode then type passwd and your in..........

cheers
 
Old 04-02-2005, 08:47 AM   #4
varunvarde2007
LQ Newbie
 
Registered: Mar 2005
Location: Ahmedabad
Distribution: Red Hat Version 9
Posts: 7

Rep: Reputation: 0
Hi

For your problem i can give you specific steps for this problem

When the PC starts just press "e" then move down to the second option press space and type init 1 and press enter press "b" and your pc will boot

as soon as your pc boots

write vi /etc/passwd and the remove the "x" in the root line it will look somewhat like this

root:x: <- just remove this "x" reboot your pc with init 6 and now start your pc and login it with user root and just you are done without password

so i think this will help you out

just reply me if it works
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How could normal user obtain root password or change root password ckamheng Debian 18 02-18-2009 10:28 PM
Recovering Linux Password. chamalsl Linux - Security 6 02-14-2005 11:16 AM
Recovering XP Password using Knoppix doctor_damien Linux - Newbie 6 05-03-2004 03:09 AM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 05:26 PM
recovering root password in rh using lilo farhan Linux - General 1 03-01-2003 08:45 PM


All times are GMT -5. The time now is 12:18 AM.

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