Reset password on Ubuntu

  1. Boot into recovery mode
  2. Root – Drop to root shell prompt
  3. Press Enter to get the prompt back
  4. Run mount -rw -o remount / to remount the root partition with write access
  5. Change password with passwd USERNAME

By default the root user on Ubuntu has no password, hence you being able to drop to root and changing the other user's password. The root user is also supposed to be disabled by default, not sure why dropping down to it was so simple.

After you have done this, you'll be able to login. But then the authentication prompts (e.g. when you run software update) will not accept the new password, it still recognizes the old password.


In this case you can just delete your Login keychain, no big deal


Please note that this site and the posts on it are, and will always be, a work in progress. If i waited for perfection, i’d never get anything done.