2

Password is set successfully. - Now a friend want to use Ubuntu too on concerning notebook, but wants an easier password, than already setted password.

I tried:

sudo passwd

... and typed the new smaller password into it and it was changed according to 19.04's message "successfully changed".

I log out and want to log in back. But the previous password is still guilty and the newer password was not saved ?!

Even after reboot new password was not set.

What is this ?

  • No, this is not a bug, this is By Design because sudo passwd affects the root account and not yours. – Thomas Ward Nov 12 at 15:16
5

With sudo passwd you change the password of the user root.

If the user wants to change his own password, he might use just

passwd

If you want to change his password, use

sudo passwd USERNAME

See also

You might want to unset root password again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.