Getting "pam_unix(sshd:auth): authentication failure" when updating password after password expires

Solution 1:

In /etc/ssh/sshd_config:

Changed line:

UsePrivilegeSeparation no 

To:

UsePrivilegeSeparation yes