Added VMWare reenable of user

This commit is contained in:
2021-06-25 14:20:21 +02:00
parent c9d3e145bb
commit 4590ad6bef
2 changed files with 15 additions and 0 deletions

14
VMWare/README.md Normal file
View File

@@ -0,0 +1,14 @@
# 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