I am currently running trusty (Ubuntu 14.04.3 LTS) with kernel version 3.13.0-65-generic.
As root I am not able to change a user's password:
root@server:~# passwd newuser
passwd: Authentication token manipulation error
passwd: password unchanged
I am also not able to change the password for the root account itself:
root@server:~# passwd
passwd: Authentication token manipulation error
passwd: password unchanged
I have been searching for a while. This is not an issue with / needed to be mounted as r/w. The permissions on /etc/passwd and /etc/shadow are fine. I am able to manually change the password inside the /etc/shadow file and that works. But I need to understand why passwd is getting the error.
I think I need to dig deeper into /etc/pam.d/* but I am not sure where to start.
Any ideas would be greatly appreciated. Thanks!
UPDATED INFO:
- There are no extraneous characters being passed on the command line.
- This is currently the issue for all users existing and new, I tried adding a new user with adduser and got the same error from the adduser script when it was supposed to ask me for the password.