Authentication token manipulation error appears in ubuntu18.04 password modification

Today I need to change the password of ubuntu18.04, but when I changed the password, the following error occurred:

Authentication token manipulation error

The explanation given online is that there is no authority.
The solution

sudo mount -o remount,rw /

Just add a sudo

[email protected]:~$ sudo passwd eric
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

[1]. The modified Linux password times “the Authentication token manipulation error” wrong solution.
[2].Fix “Authentication Token Manipulation Error” When Changing User Password In Ubuntu.

Read More: