The ESXi host must not suppress warnings that the local or remote shell sessions are enabled.
Overview
| Finding ID | Version | Rule ID | IA Controls | Severity |
| V-258777 | ESXI-80-000222 | SV-258777r933392_rule | CCI-000366 | medium |
| Description | ||||
| Warnings that local or remote shell sessions are enabled alert administrators to activity they may not be aware of and need to investigate. | ||||
| STIG | Date | |||
| VMware vSphere 8.0 ESXi Security Technical Implementation Guide | 2023-10-11 | |||
Details
Check Text (C-258777r933392_chk)
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 Text (F-62426r933391_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