I have added some new users and set default passwords.
chage -d 0, I have expired them, hoping that they will be prompted to change their passwords the first time they login.
Unfortunately, the only way this machine is accessed is via SSH. When the user ssh's to the box, they get:
Your account has expired; please contact your system administrator
/var/log/auth.log, and found the following:
Feb 27 10:19:01 gitlabci sshd: pam_unix(sshd:account): account <USER> has expired (account expired) Feb 27 10:19:01 gitlabci sshd: Failed password for <USER> from <MY_IP> port 1939 ssh2 Feb 27 10:19:01 gitlabci sshd: fatal: Access denied for user <USER> by PAM account configuration [preauth]
I don't see any configuration options in
/etc/ssh/sshd_config that will allow the prompt for a new password.
Anybody have any suggestions?