From 4590ad6befd7dfb86c45908679a0277382fa1aee Mon Sep 17 00:00:00 2001 From: Michael Schlapa Date: Fri, 25 Jun 2021 14:20:21 +0200 Subject: [PATCH] Added VMWare reenable of user --- README.md | 1 + VMWare/README.md | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 VMWare/README.md diff --git a/README.md b/README.md index 5dfa952..35cbb62 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ * [Python](./Python/README.md) * [pip](./Python/pip.md) * [PostgreSQL](./postgresql.md) +* [VMWare](./VMWare/README.md) * [WSL](./WSL.md) ## Links diff --git a/VMWare/README.md b/VMWare/README.md new file mode 100644 index 0000000..900b635 --- /dev/null +++ b/VMWare/README.md @@ -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 ` to see the number of unsuccessful logins +4. Run `pam_tally2 --user --reset` to reset this number +5. Now you should be able to login using SSH or the web frontend