How did I reset my PinguyOS user password

This morning I booted up the PinguyOS linux installed on my VirtualBox (on Windows). I stucked at login page because I do not remember the password. I searched for how to reset pinguyOS linux and ubuntu linux. I found two methods, one method using boot into root bash through recovery boot and the other method directly boot into root bash. First method didn’t work for me as root bash asked for me the password and I  don’t know root password. Second method didn’t directly work as well. That article said ‘find line starting with kernel’ and I couldn’t find that one. I figured out and tried the following and I did reset my password.

At boot menu, press ‘e’

boot menu

go to the end of the line started with linux

add rw init=/bin/bash

boot option with changed parameter

press Ctrl+X to boot and you will be in root shell

type passwd myusername

enter password mypassword and enter mypassword again to confirm

reboot the machine (changed parameter not persisted)

Now I can log in with my new password mypassword

Source: How to reset your password in UbuntuHOWTO: Oh no! I forgot my password!

Advertisement

Leave a Reply

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 )

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

%d bloggers like this: