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. reset password
    mount -o remount,rw /
    
    passwd myusername
    

Categories:

Written by Michael Hirsch, Ph.D. //

Comments