jump to navigation

How-To Recover password under Ubuntu February 7, 2008

Posted by Mohamed Sanaulla in How Tos, Ubuntu, Unix.
Tags: , ,
trackback

If you forgot you password for your ubuntu system you can recover using the following steps

Turn your computer on.

Press ESC at the grub prompt.

Press e for edit.

Highlight the line that begins kernel ………, press e

Go to the very end of the line, add rw init=/bin/bash

press enter, then press b to boot your system.

Your system will boot up to a passwordless root shell.

Type in passwd username

Set your password.

Type in reboot

Source: Ubuntu Geek

Comments»

1. twildlebug - May 14, 2009

The GRUB command goes too fast I can’t get it

2. sherry - June 6, 2009

It does work, I changed my passwd successfully,
But theres a little problem, the new passwd has to be 1 digit.
Because after it says ENTER NEW PASSWD, when you type a word or number it suddenly says RETYPE THE PASSWD and doesn’t give more time…..But very useful.

3. stanth - August 25, 2009

i cannot reboot my comp with the reboot command ?

4. gaurav - September 15, 2009

its not working.. i’m a beginner…. on terminal…
grub and press enter…
now it is showing grub prompt
but after that when i’m pressing ESC and the e fior editing , it is not showing nething.. plz reply me soon.. .gochooster@gmail.com

Mohamed Sanaulla - September 28, 2009

Hi,

It was working when i had tried it. Just check if u are following the steps correctly.

5. gaurav - September 15, 2009

i did all this after starting my computer as a guest…..