To unlock the VCF account, please use the steps mentioned below:
In a Web Browser, log into the vCenter Web Client.
Navigate to, and open a VM console, to VMware SDDC Manager VM.
From the console, log in with the root account.
Run the following command to reset the VCF account:
For VCF versions up to VCF 5.0.0.1(Photon OS 3.0), use
pam_tally2 --reset --user vcf
pam_tally2 --reset --user root
For VCF versions starting from VCF 5.1.0.0(Photon OS 4.0 onwards), use
faillock --reset --user vcf
faillock --reset --user root
Reset the password of the VCF account or the root account using the command below and enter a new password when prompted:
passwd vcf
passwd root
Verify that the VCF account is now able to login by attempting a new SSH session.
To reset the root password for the SDDC Manager when the root password is locked out or unknown, refer to the following KB: