Fail to change password via ssh after user password expired
Issue
Fail or error to change the password after password expired:
login as: testuser
Using keyboard-interactive authentication.
Password:
Using keyboard-interactive authentication.
You are required to change your password immediately (root enforced)
Changing password for testuser.
(current) UNIX password:
Using keyboard-interactive authentication.
New password:
Using keyboard-interactive authentication.
Retype new password:
Access denied
Using keyboard-interactive authentication.
Password:
Environment
- Red Hat Enterprise Linux (RHEL) 6, 7, 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.