VCF SDDC Manager – Reset ‘vcf’ User A/C Due To Failed Login Attemtps

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).

vcfsddcmgrreset1

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’:

vcfsddcmgrreset2

Select ‘Web Console’ and click OK:

vcfsddcmgrreset3

Hit return to enter the console and login as root:

vcfsddcmgrreset4

Displaying the number of failed attempts:

pam_tally2 -u username

vcfsddcmgrreset5

Reset the account:

pam_tally2 -u mystic –reset

vcfsddcmgrreset6

Sucessfull login attempt by vcf via SSH:

vcfsddcmgrreset7

Note: If you are prepared to wait the account should unlock after ~15 minutes.

cat /etc/pam.d/system-auth-local

vcfsddcmgrreset9

Additional piece of info to check the current running OS Verison:

cat /etc/os-release

vcfsddcmgrreset8

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s