Ubuntu is a Linux distribution that comes with a lot of software pre-installed. One of the most popular applications on Ubuntu is the password manager, called Password Manager. If you’re not familiar with it, Password Manager is a program that allows you to store and manage your passwords in one place. If you’re having trouble resetting your Ubuntu password, here are some tips to help you out:

  1. Open Terminal and type “passwd”. This will show you the current password for your Ubuntu account.
  2. To reset your Ubuntu password, type “reset”. This will ask for your old password and then reset it to the default value.
  3. To keep your new Ubuntu password safe, make sure to never share it with anyone else!

Note that we’ll also cover how to protect yourself against somebody else resetting your password, so stay tuned!

Of course, this method will also work if you’ve installed your Ubuntu Live CD to a thumb drive.

Resetting the Password

You’ll want to boot from your Ubuntu Live CD, choosing “Try Ubuntu without any change to your computer” from the boot menu.

Once the system boots, open up a new Terminal window from Applications \ Accessories and then type in the following command:

This command is used to tell what device name the hard drive is using, which in most cases should be /dev/sda1, but could be different on your system.

Now you’ll need to create a directory to mount the hard drive on. Since we’re actually booting off the live cd, the directory doesn’t really get created anywhere.

The next command will mount the hard drive in the /media/sda1 folder.

Now it’s time for the command that actually does the magic: chroot. This command is used to open up a shell with a different root directory than the current shell is using, and we’ll pass in the folder where we mounted the hard drive.

Now you should be able to use the passwd command to change your user account’s password, and it will be applied to the hard drive since we are using chroot.

Note that you’ll have to type your username after the passwd command in order to change the right password.

Now you should be able to reboot your system and log yourself in with your new password.