Unable to authenticate user" error messages are prompted in continuous login attempts. Starting from 8.0 U2, the unlock policy in vCenter Server changed from pam_tally2 to faillock. The default unlock time is 86400 seconds (24 hours) based on the settings of /etc/security/faillock.conf:
dir = /var/log/faillockauditsilentdeny = 3unlock_time = 86400even_deny_rootroot_unlock_time = 300fail_interval = 900
The unlock policy only works on root account. The other local account is locked after 3 times failed login attempts within 15 minutes which will not be automatically unlocked until it is manually reset by the root account.
Log in to vCenter Server via SSH as root and run the following command to check if the local user account has been locked:
/usr/sbin/faillock
If the output shows Failures is 3, the account is locked. For example:
# /usr/sbin/faillockLogin Failures Latest failure Fromobservability 0root 0<local_user_name> 3 2025-04-17 05:15:53 passwdTo unlock the account, run the following command:
/usr/sbin/faillock --user <local_user_name> --reset