Ubuntu 10.10 – How to Reset your Administrator Password

I did get locked out of my Ubuntu system a little while back.  I’m not sure how, but the computer just wouldn’t accept my Administrator password.

Anyhow, this is for those of you who find yourselves, for whatever reason, in the same position.  Fear not!  For there are many pages about how to do this online.  But they are all slightly different which can get a bit confusing.  This is the way that worked for me.

1.)  Get to the boot menu.  This can be done in different ways depending on your setup.  Mine goes to Grub 2 menu by default.  If you are using a computer that doesn’t go to boot menu by default I think you can get there by pressing and holding shift during startup.

Your boot menu should look something like this:

2.)  You will either have a recovery mode or a single user mode option.  They can both be used in the same way.  Choose the option you have available and you should come to a menu like this:

3.)  Choose Drop to root shell prompt and press enter.

4.)  When it has finished loading you should be left at a root prompt like this:



5.)  Type passwd and then the username of the user you are changing the password for.

For example, if the username is ‘layla’ you type:

passwd layla 

Then press enter.

6.)  You will come to a prompt like this:



Type the password you want for this user and press enter.

IMPORTANT:  As you type there will be no movement on the screen.  This is normal.

7.)  You will be asked to retype the password.



Type it and press enter.  Again, there will be no movement on the screen but don’t worry that’s how it should be.

8.)  If you have typed the password correctly both times you will receive this message:



You should now be able to log-in as Admin again.


Categories: Linux and Ubuntu, Ubuntu 10.10 - Maveric Meerkat | Tags: , , , , , , , | 1 Comment

Post navigation

One thought on “Ubuntu 10.10 – How to Reset your Administrator Password

  1. Anonymous

    strange you were locked out as that is the reason I am looking at this site. your info was very helpful and I was back up in minutes Thank you

If you find this useful or interesting please leave me a comment. If you have a question feel free to ask (^-^)

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.