forgotten password

Michael Zoet Michael.Zoet at
Wed Jun 3 08:32:31 UTC 2009

On Wed, 3 Jun 2009 09:11:19 +0100, Colin Law <clanlaw at>
> 2009/6/3 Stewart Sutton <stewkateamy at>:
>> Hey there free bees, Ive done the classic one . Got my Ubuntu installed
>> and
>> forget the password!!!!!!!!!!!!!!! I have 75 updates to download, and
>> cannot
>> do so because you must know your
>> PASSWORD!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>> Catch
>> 22! Is there anyone out there who can help without asking for payment!

If you know something about the command line you can do this easily in the
rescue mode.

Boot your system into rescue mode. (You can do this by typing "ESC" when
the grub menu appears.) If you have no root password set (Ubuntu default
configuration), you can just
login as root with no password (this is a security flaw...). Then you can

passwd <USERNAME>

and you can set the password for <USERNAME> new. You must exchange
<USERNAME> with your actual user name! Reboot the system by typing "reboot"
( or you can type exit or you can just hit ctrl+d )

And your are done.

That's it.

Hope this helps,


More information about the ubuntu-users mailing list