If you enter incorrect password at the VLA console three times in succession, the account gets locked for twenty-four hours. You can unlock the VLA console using the following set of instructions:
Procedure
Try to establish SSH connection to the VLA console.
The VLA console access is being denied in result of repeated logon with incorrect password for that user.
Open the VLA console from the vSphere Web Client
You can verify that your account indeed gets locked.
Right Click on the VLA VM in the left pane of the VWC. Navigate to the Power option. Then Click on the Restart Guest OS option (highlighted with arrow for reference).
Immediately go to the VLA console window and use the up/down arrow keys on the keyboard to highlight the OS that you want to boot in single user mode. Type 'e' to edit commands before booting.
Locate the GRUB parameter that you need to change in order to be able to boot up the OS in single user mode, by using the up/down arrow keys. After making the required changes press Ctrl-x or F10 to boot the OS in single user mode. The following figure depicts this step (with the required changes to be made, highlighted for reference):
Locate the GRUB parameter that you need to change in order to be able to boot up the OS in single user mode, by using the up/down arrow keys. Add the following text to the end of the line that starts with linux:rw init=/bin/bash. After making the required changes press Ctrl-x or F10 to boot the OS in single user mode.
Execute the following commands once the OS boots in single user mode and you see the # prompt
mount -o remount, rw /
mount /var/log
/sbin/pam_tally2 --user <console user name> --reset
umount /var/log
reboot -f
The following figure depicts the preceding steps:
After the reboot is completed you should be able to login successfully using the correct username and password combination, as depicted in the following figure:
Results
You have successfully unlocked a locked VLA console.