Reset admin account login

Ive had to do this more than I care to mention. I should really know it by heart now, but the short version is:

  1. boot into the grub menu and select advanced options
  2. head into recover mode
  3. drop to root shell prompt
  4. you’ll need to remount the filesystem that is currently read only:
    mount -o rw,remount \
  5. change the password:
    passwd <your-username>
  6. exit
  7. you’re done, reboot.

For a guide with pictures,

How to reset your password in Ubuntu

Leave a comment