I’m trying to change the password that is asked when running
sudo in Ubuntu. Running
sudo passwd or
sudo passwd root does give me the two new password prompts and it successfully changes the password.
But then I can still use my old password when running
sudo again for something else. I do have a user with the exact same password but I don’t know if that makes a difference. I enabled the root user and I can see the new password does work with the root user account.
So the root password is changed but not the password for
How do I change the
su, it is your password that is used by