STIGUI
V-258777CAT II — Medium severitySV-258777r933392_rule

The ESXi host must not suppress warnings that the local or remote shell sessions are enabled.

Rule version ESXI-80-000222 · STIG v1 · 2023-10-11

Discussion

Warnings that local or remote shell sessions are enabled alert administrators to activity they may not be aware of and need to investigate.

Check

From the vSphere Client, go to Hosts and Clusters.

Select the ESXi Host >> Configure >> System >> Advanced System Settings.

Select the "UserVars.SuppressShellWarning" value and verify it is set to "0".

or

From a PowerCLI command prompt while connected to the ESXi host, run the following command:

Get-VMHost | Get-AdvancedSetting -Name UserVars.SuppressShellWarning

If the "UserVars.SuppressShellWarning" setting is not set to "0", 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.SuppressShellWarning" value and configure it to "0".

or

From a PowerCLI command prompt while connected to the ESXi host, run the following command:

Get-VMHost | Get-AdvancedSetting -Name UserVars.SuppressShellWarning | Set-AdvancedSetting -Value 0

Identifiers

Group ID
V-258777
Group title
SRG-OS-000480-VMM-002000
Rule ID
SV-258777r933392_rule
Check ID
C-62517r933390_chk
Fix ID
F-62426r933391_fix