There was an error manipulating the password file. This generally means you entered your old password incorrectly.

For some reasons when you try to change any password via cPanel, such as MySQL, FTP and password to cPanel, Get this error every time:

There was an error manipulating the password file. This generally means you entered your old password incorrectly.

Even if you confirm the old password is correct, still you might face this problem.

This problem is occur due to inappropriate permissions set for the file /usr/bin/passwd.

To resolve this error you can do a simple trick:

Login to the server as root and change the permissions for the file to 4511.

chmod 4511 /usr/bin/passwd

Once done, try to change the password again from the cPanel. It should work!

If you are experiencing the error with Roundcube you can check our post on Problem with Roundcube.