For example; due to repeated failed login attempts via SSH/SCP the SDDC Manager ‘vcf’ user account may get locked out. The following provides steps on how to reset the account by accessing the SDDC Mgr VM Console (VMware Photon OS/Linux).
Note: the current running OS Version of SDDC Manager is ‘VMware Photon OS 3.0′:
If this is the only account you have access to via SSH then you may need to open the VM console via ESXi/vCenter and login as root user.
Click on ‘Launch Web Console’:
Select ‘Web Console’ and click OK:
Hit return to enter the console and login as root:
Displaying the number of failed attempts:
pam_tally2 -u username
Reset the account:
pam_tally2 -u mystic –reset
Sucessfull login attempt by vcf via SSH:
Note: If you are prepared to wait the account should unlock after 86,400 seconds | 24 Hours.
Check user password expiration using chage:
The /etc/login.defs file provides default configuration information: