OCI: User Unable to Login using Password “pam_unix has expired (failed to change password)”
APPLIES TO:
Oracle Cloud Infrastructure - Version N/A and later
Linux x86-64
SYMPTOMS
Multiple users unable to login using password
---/var/log/secure-- Sep 25 12:36:27 localhost sshd[65664]: pam_unix(sshd:account): account testuser has expired (failed to change password) Sep 25 12:36:27 localhost sshd[65664]: fatal: Access denied for user testuser by PAM account configuration [preauth]
CAUSE
User password is expired.
[opc@localhost ~]$ sudo chage -l testuser Last password change : Jul 25, 2023 Password expires : Sep 23, 2023 < ----- Password inactive : Sep 23, 2023 Account expires : never Minimum number of days between password change : 1 Maximum number of days between password change : 60 Number of days of warning before password expires : 7
Tagged:
0