SV-256401r958478_rule
V-256401
SRG-OS-000095-VMM-000480
ESXI-70-000036
CAT II
10
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Under "Services", select the "ESXi Shell" service and click the "Stop" button.
Click the "Edit Startup policy..." button.
Select the "Start and stop manually" radio button.
Click "OK".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"} | Set-VMHostService -Policy Off
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"} | Stop-VMHostService
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Under "Services", locate the "ESXi Shell" service and verify it is "Stopped".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"}
If the ESXi Shell service is "Running", this is a finding.
V-256401
False
ESXI-70-000036
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Under "Services", locate the "ESXi Shell" service and verify it is "Stopped".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "ESXi Shell"}
If the ESXi Shell service is "Running", this is a finding.
M
5518