ESXi Root account locked out on Cisco HX

ESXi Root account locked out on Cisco HX

Unable to get the ESXi Shell via ALT+F1 in DCUI

So, your ESXi host root account is locked out?

You normally would log in to your DCUI (Direct Console User Interface)

image.png

Press ALT+F1 and get an ESXi Shell, but instead, you are getting a blank screen. This is because HyperFlex redirects ESXi Shell to Serial Over LAN.

To get around this, you need to SSH into the CIMC for that host (Cisco Integrated Management Controller)

image.png

Type in connect host

image.png

Now, type pam_tally2 --user=root --reset

Optionally if you wish to check attempted logins pam_tally2 --user root

That's it, you can now log back into your ESXi host.


Enabling SSH and ESXi Shell

image.png

And

image.png