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 12-22-2004, 01:59 AM   #1
navaladi
Member
 
Registered: Dec 2004
Location: chennai
Distribution: chennai
Posts: 81

Rep: Reputation: 15
Red face forgot my password


hello i am new to linux...i seting password to root now i am forgot.i can't enter to root.what should i do...please help me....
 
Old 12-22-2004, 03:13 AM   #2
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
To recover lost root password using GRUB boot loader:

1. Boot the affected system to the GRUB loader
2. Select your operating system and type E for edit
3. Select kernel and type E for edit
4. Select boot and add runlevel 1 to the end of the line
5. Press Enter and hit B for boot
6. At the sh prompt, use passwd to change the password
7. Reboot the PC

To recover lost root password using LILO boot loader:

1. Boot the machine to the LILO prompt
2. Type linux 1 or linux single to enter single user mode
3. At the prompt, use passwd to change the password
4. Reboot


http://madpenguin.org/cms/?m=show&id=6
 
Old 12-22-2004, 09:47 AM   #3
amfoster
Member
 
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
or .... go to http://www.toms.net/rb/ and create the boot disk offered there. You can use that on any x86 based machine as an emergency boot disk. Mount the real / filesystem and change the password
 
  


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 PASSWORD !!! bipinkdas Ubuntu 2 03-27-2005 11:37 AM
forgot password =( ?!?! j_miguel_y Linux - General 1 08-31-2004 12:58 PM
what to do when forgot your password? isamitch Linux - General 11 07-23-2004 02:57 PM
forgot email password bosewicht Linux - Newbie 1 06-07-2004 08:05 AM
forgot my password ? i can change the password JrLz Linux - Security 9 04-06-2004 08:36 PM


All times are GMT -5. The time now is 06:23 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration