I was provided a work PC with WSL installed and have added my user to sudoers. I was able to install packages and update (e.g. sudo apt update
) but it stopped working a few weeks ago and says my password is wrong.
I can still launch WSL as root and do everything with sudo that way, and I have reset my user’s password through root so I am certain the password is correct. I have also checked that my user has sudo permissions with grep sudo /etc/group
).
However, when running sudo apt update
or anything with sudo and prompted for the password, it says the password is incorrect. When trying to change my password with passwd (not as root), I could do it until a few days ago (so that was another confirmation that my password was correct, since I needed the current password when updating it!). But now, when I do the same, I get:
passwd: Authentication token manipulation error
I’m not sure if I’ve messed something up, or if IT has made any changes in the permissions (how would I know?) or what I can do to troubleshoot this. Any suggestions?
user24806237 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.