Exception in invoking authentication handler User password expiredroot@xxxxxx [ ~ ]# chage -l rootYou are required to change your password immediately (root enforced)chage: PAM: Authentication token is no longer valid; new one requiredThis issue occurs when the root password of the appliance (PSC or vCenter) server is expired.
In vSphere 6.5 and later the root password expire after 90 days by default; in older versions it was 365 days.
After deploying the Appliance, modify the the Password Settings of the Root User through the vCenter Server Appliance Management Interface as needed.
# passwd root
You can configure different expiry times including "never expire" and set an email address to which the expiration warning is sent.
# chage -l root
Last password change : May 13, 2024Password expires : neverPassword inactive : neverAccount expires : neverMinimum number of days between password change : 0Maximum number of days between password change : -1Number of days of warning before password expires : 7