Welcome to

Today is 09-25-2006

 Main Menu
Features
· Home
· Forums
· Howtos
· News
· Reviews
· Interviews
· Research Library
· MadPenguin IRC
· RSS/XML
· Frappr!

Useful Stuff
· Buy Linux Software
· LINUX TRAINING
· OOo Label Templates

Actions & Info
· Create An Account
· Submit News
· News Archives
· Advanced Search
· My Profile
· Advertise Here
· Online Store
· About Us
· Write For Us
· Acceptable Use Policy
· Privacy Policy



 Advertisement


 








   Home Howtos

HOWTO recover a lost root password

Last update:  01-16-2003
Discuss this article | Print this article

Submitted by madpenguin

This HOWTO will describe the procedures involved in recovering a lost root password using the GRUB and LILO boot loaders.

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
 
Related Article(s):

^ Top Page

Search Box


User's Login
Username

Password


Recent Topics


Advertisement




Advertisement