The ESXi host must log out of the console UI after two minutes.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256407 | SRG-OS-000163-VMM-000700 | ESXI-70-000043 | SV-256407r970703_rule | 2025-02-11 | 1 |
Description
When the Direct Console User Interface (DCUI) is enabled and logged in, it should be automatically logged out if left logged on to avoid access by unauthorized persons. The "DcuiTimeOut" setting defines a window of time after which the DCUI will be logged out.
ℹ️ Check
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Advanced System Settings.
Select the "UserVars.DcuiTimeOut" value and verify it is set to "120" (two minutes).
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-AdvancedSetting -Name UserVars.DcuiTimeOut
If the "UserVars.DcuiTimeOut" setting is not set to "120", this is a finding.
✔️ Fix
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Advanced System Settings.
Click "Edit". Select the "UserVars.DcuiTimeOut" value and configure it to "120".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-AdvancedSetting -Name UserVars.DcuiTimeOut | Set-AdvancedSetting -Value 120