Wednesday, July 5, 2023

How to unlock the ESXi root account from the console

Press CTRL+ALT+F1 to launch the ESXi Shell

At the ESXi shell login with root and the password

Run the following commands to show number of failed attempts:

pam_tally2 --user root

Run the following command to unlock the root account:

pam_tally2 --user root --reset