That doesn't work because you're passing the '-e' option, which means: mark the password for expiration to force the user changing it on next login. That operation requires admin rights. BUT please simply use 'passwd', without anything else.
(This is the best way of changing passwords in the general case, because it asks you to enter your old password, meaning that gnome-keyring and eCryptfs will be able to update the passphrase they use to encrypt our data at the same time.) -- Changing your password does not allow admin authentication before session is restarted https://bugs.launchpad.net/bugs/315002 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gnome-system-tools in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs