TMAegis
Weitere Regeln für vmware

TMA-ESXI9-3.13

Host must unlock accounts after a specified timeout period

MittelStufe 1Automatisiertvmware

Beschreibung

Ensuring that user accounts on the ESXi host are automatically unlocked after a specified period contributes to a balance between security and operational usability. This mechanism reactivates idle accounts promptly while mitigating potential unauthorized access risks. The audit reads Security.AccountUnlockTime with esxcli and requires 900 seconds. Runs in the ESXi Shell (busybox sh) as root.

So wird geprüft

Prüfmethode: Shell-Befehl

shell
out=$(esxcli system settings advanced list -o /Security/AccountUnlockTime 2>/dev/null) || exit 1
v=$(printf '%s\n' "$out" | awk '$1=="Int" && $2=="Value:" {print $3; exit}')
case "$v" in ''|*[!0-9-]*) echo '/Security/AccountUnlockTime: no integer value'; exit 1 ;; esac
if [ "$v" -eq 900 ]; then echo compliant; else echo "/Security/AccountUnlockTime = $v (expected 900)"; fi
Erwartete Ausgabe
compliant

So wird behoben

Behebungsmethode: Anleitung oder Infrastruktur-Patch

To set the account lockout to 15 minutes, perform the following: 1. From the vSphere Web Client, select the host. 2. Click Configure then expand System. 3. Select Advanced System Settings then click Edit. 4. Enter Security.AccountUnlockTime in the filter. 5. Set the value for this parameter to 900. Alternately, use the following PowerCLI command: Get-VMHost | Get-AdvancedSetting -Name Security.AccountUnlockTime | Set- AdvancedSetting -Value 900

Eigenschaften

Betriebssysteme
Beliebig
Tags
vmwareesximanagement
Referenz
CIS VMware ESXi 9.0 Benchmark v1.0.0 - 3.13 Host must unlock accounts after a specified timeout period

Diesen Host prüfen

Führen Sie dies auf einem Rechner aus, den Sie prüfen dürfen. Der Scan ist schreibgeschützt.

shell
tmaegis scan --target vmware