Resetting forgotten password in Ubuntu Linux

Do NOT do this if you have an encrypted partition, as you’ll lose access to all that data!! reference on forgotten password vis ecryptfs

  1. Reboot
  2. at GRUB, choose Recovery Mode, then root.
  3. type (note that “user” is whatever your username is)

    mount -o remount,rw /

    passwd user

Categories:

Updated: