Skip to main content

Unlock the ESXi host account

  1. At the console press CTRL+ALT+F2 to get to the ESXi shell. If a login shows up continue with step 3, otherwise continue with step 2.
  2. Login to the DCUI (to enable the ESXi Shell if not already done)
  3. Login with root and the correct password.
  4. Go to Troubleshooting Options
  5. Select Enable ESXi Shell
  6. Press CTRL+ALT+F1
  7. At the ESXi shell login with root and the password
  8. 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