5.2 Disable ESXi Shell unless needed for diagnostics or troubleshooting

Information

http://kb.vmware.com/kb/2004746

Solution

Perform the following-1. From the vSphere web client select the host.
2. Select 'Manage' -> 'Security Profile'.
3. Scroll down to 'Services'.
4. Click 'Edit...'.
5. Select 'ESXi Shell'.
6. Click 'Stop'.
7. Change the Startup Policy 'Start and Stop Manually'Additionally, the following PowerCLI command will implement the recommended
configuration state-# Set ESXi Shell to start manually rather than automatic for all hosts
Get-VMHost | Get-VMHostService | Where { $_.key -eq 'TSM' } | Set-VMHostService - Policy Off

Default Value-The prescribed state is the default state.

See Also

https://workbench.cisecurity.org/files/902

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7

Plugin: VMware

Control ID: 469077a163cc8c6b8d1967d56629f0bb1ad579cf31d2c8123a6817b7958070bc