use_authtok - When password changing enforce the module to set the new password to the one provided by a previously stacked password module use_authtok allows multiple pam modules to confirm a new password before it is accepted.
Solution
Edit the files /etc/pam.d/system-auth and /etc/pam.d/password-auth: Edit the following line and add the use_authtok argument: password sufficient pam_unix.so sha512 shadow try_first_pass use_authtok