Information
When a host is added to the vCenter Server inventory, vCenter Server creates a special user
account called vpxuser on the host. vpxuser is a privileged account that acts as a proxy for
all actions initiated through vCenter Server. Ensure that vpxuser's password is set to
change every 10 or fewer days.
*Rationale*
Ensuring that the password expires frequently limits the amount of time an attacker can
use the vpxuser password if it is compromised.
Solution
To implement the recommended configuration state, run the following PowerCLI
command-# Set the vCenter Password Expiration Value to 10
Get-AdvancedSetting -Entity $defaultVIServer -Name 'VirtualCenter.VimPasswordExpirationInDays' | Set-AdvancedSetting -Value 10
Impact-The password aging policy must not be shorter than the interval that is set to automatically
change the vpxuser password, otherwise vCenter might get locked out of an ESXi host.
Default Value-Password automatically changes every 30 days.