LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-16-2003, 06:11 AM   #1
samik_ban
LQ Newbie
 
Registered: Jul 2003
Posts: 12

Rep: Reputation: 0
forgot root password


I have forgot my root password. Suggest me how can I retrieve this password. If it is not possible then suggest me how can I retrieve all my data.
 
Old 10-16-2003, 06:20 AM   #2
atko
Member
 
Registered: Feb 2003
Location: UK
Distribution: Currently Fedora Core 3
Posts: 136

Rep: Reputation: 15
If I can recall correctly rebuilding your pc - when you are setting up your partitions - gives you the option to use the existing home directory.
 
Old 10-16-2003, 06:44 AM   #3
UltimaGuy
Member
 
Registered: Aug 2003
Location: Chennai, India
Distribution: PCLinuxOS .92, FC4
Posts: 840

Rep: Reputation: 32
What do you use as boot manager, is it grub or lilo.

First consider lilo...

1. When lilo shows the graphical screen, press Ctrl+x, and go to terminal mode.
2. Enter linux S, where linux is the label
3. You will be booted into single user mode now. Type passwd and type in your new root password.

Now, we shall see grub...

1. When grub shows the graphical boot, press the option to edit( I think it is 'e')
2. In the second line of the three lines, add "init 1" at the END.(At the end of the line, append init 1. If you add it somewhere else, the system won't boot)
3. You are booted into single user mode. Change the password.

That's all folks!
 
Old 10-16-2003, 07:34 AM   #4
porous
Member
 
Registered: Oct 2003
Distribution: redhat 9
Posts: 147

Rep: Reputation: 15
will it work on grub which is password protected ,
or is there any other way
 
  


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
Forgot root password muru Linux - Security 5 09-26-2005 12:37 AM
forgot root password ali_hammad Linux - Newbie 3 03-09-2005 10:46 AM
forgot root password ali_hammad Linux - Security 4 03-08-2005 02:44 PM
Forgot root password Jay Smith Linux - Newbie 15 10-12-2004 06:23 PM
Forgot Root Password Ironpaws Linux - Software 6 07-03-2004 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:38 AM.

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