Password Reset Disk

Actually, there's no need for a separate disk, you just boot into recovery mode and do it from there.

  1. If you don't see grub at boot time then hold down the shift key as the machine starts, and the text-based menu should pop up before the ubuntu logo. If you do see grub (if you have a dual-boot setup you normally will) then ignore this step.

  2. Select the top-most 'Recovery mode' option. The machine will boot to a coloured text-mode 'Recovery Menu'.

  3. Select 'remount'. Hit enter when it's done.

  4. Select 'root'.

  5. Set the password with passwd <username>.

  6. reboot

Seems insecure right? This is why you should encrypt your user account if you care that much.


This can usually be done from the live cd. All you have to do is boot from the live cd and run these commands, adjusting for your system:

sudo mkdir /mnt/ubuntu
sudo mount /dev/sdXY /mnt/ubuntu
sudo chroot /mnt/ubuntu
passwd <insert-username>
exit
sudo umount /mnt/ubuntu

Now reboot into your installed system and your password will be changed to what you entered in the passwd command's prompts.