PostRecover your Ubuntu account password

Today I installed Ubuntu in a friends PC. He is not new into computers but he wanted some pointers first on using Ubuntu.
We went through all the install steps really quickly as he knows that sort of stuff.

Because his keyboard is a lot different than mine I made a mistake when entering the password. And guess what ?! I made the same mistake twice and so the installer continued.

After it finished installing I rebooted his computer, took out the bootable CD from the drive. Everything ok until I had to login.

Now the password didn’t work at all. Luckaly on my home computer I experienced some hard disk problems and I had to enter Ubuntu’s recovery mode. I saw that in recovery mode you are automaticly logged in as root.

So I went to recovery mode by rebooting my friends computer and pressing the Escape key as right before GRUB loaded.

As soon as everything finished I was in a shell logged in as root. Hooray.

All I had to do was to change the password for his user by typing:

password username

and entering a new password twice. I watched the keyboard while entering the new password. I rebooted the computer again and logged in succesfully.

Of course I could have always reinstalled Ubuntu from scratch … but this was faster.

I Disclose

Stay Connected

Subscribe to RSS Feed

Subscribe to RSS Feed

Follow me on Twitter

Follow me on Twitter

Subscribe via e-mail

Subscribe via e-mail


Post your comment

Leave a Reply

ss_blog_claim=35efd881137b13aae56d7e24920f8a2b