LinuxQuestions.org
Help answer threads with 0 replies.
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 03-06-2005, 01: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, 04: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, 08:58 AM   #3
aqoliveira
Member
 
Registered: Dec 2001
Location: Portugal
Distribution: /Red Hat/Fedora/Solaris
Posts: 622

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, 09: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



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 11:28 PM
Recovering Linux Password. chamalsl Linux - Security 6 02-14-2005 12:16 PM
Recovering XP Password using Knoppix doctor_damien Linux - Newbie 6 05-03-2004 04:09 AM
Recovering Lost Admin. Password Mr Neroazzurri Linux - Security 4 03-14-2003 06:26 PM
recovering root password in rh using lilo farhan Linux - General 1 03-01-2003 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 09:58 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration