Thursday, January 2, 2020

Unlock VMware ESXi root account

Procedure to unlock the ESXi host account at the console

  1. Login to the DCUI (to enable the ESXi Shell if not already done)
  2. Login with root and the correct password
  3. Go to Troubleshooting Options
  4. Select Enable ESXi Shell
  5. Press CTRL+ALT+F1
  6. At the ESXi shell login with root and the password
  7. Run the following commands to show number of failed attempts:
    pam_tally2 --user root
  8. Run the following command to unlock the root account:
    pam_tally2 --user root --reset

No comments:

Post a Comment