Reset my password in Ubuntu

I want to write down the "how-to" of resetting password in Ubuntu (in my case It's is Ubuntu v12.10) which is not something new, but helpful:

1. Reset the computer and press or hold down the Shift key the see the Grub menu, and choose Advanced options for Ubuntu

2. Select the first recovery mode item on the list

3. Choose root - Drop to root shell prompt

4. Remount the root directory by entering the following command:

mount -rw -o remount /

5. Reset my password:

passwd trinh

Note: "trinh" here is my username

Comments