Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-22-2004, 01:59 AM   #1
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
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
Old 12-22-2004, 09:47 AM   #3
Registered: Aug 2004
Distribution: debian, SuSE
Posts: 365

Rep: Reputation: 35
or .... go to 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


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 PM.

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