0

I changed the installation password to (none) after install which works great at boot. Now I cannot install updates because all administrative programs keep asking for a password and will not accept a NULL password nor the original password. Any way to fix this without a new install?

1 Answers1

0
  1. In GRUB, choose recovery mode.
  2. Drop to root prompt. Use passwd:

$ mount -o rw, remount / $ passwd <username>

Use this to revert back to default password. You can also set any password you want, but that is not advisable as Ubuntu uses the same password for a lot of stuff (like encyption, keyrings...).

So it's better to update passwords via the settings menu, unless you know what you're upto.

xyz
  • 1,786
  • 1
  • 12
  • 22