Files
Wiki/VMWare/README.md
2021-07-28 14:51:04 +02:00

20 lines
959 B
Markdown

# VMWare
## ESXi 6.X
### Re-enable user in lockout mode
If you enabled lockout mode in vSphere then inputing the wrong password multiple times puts your user into lockout mode. It is locked for a period of time (at most 900 seconds). Each following login - even correct ones - resets the timer.
To re-enable to user you need console access (by standing in front of the machine or some sort of remote console, e.g. HP iLo or Dell iDrac):
1. Press `ALT+F1` to change from the DCUI to the ESXi shell
2. Log in with an administrative user (even if this one is locked)
3. Run `pam_tally2 --user <username>` to see the number of unsuccessful logins
4. Run `pam_tally2 --user <username> --reset` to reset this number
5. Now you should be able to login using SSH or the web frontend
## Links
* [Experimental VMWare Tool - Flings](https://flings.vmware.com)
* [vcsim - A vCenter and ESXi API based simulator](https://github.com/vmware/govmomi/tree/master/vcsim)