ESXI-80-000249 The ESXi host must deny shell access for the dcui account.

Information

The dcui user is used for process isolation for the DCUI itself. The account has shell access which can be deactivated to reduce attack surface.

Solution

From an ESXi shell, run the following command:

# esxcli system account set -i dcui -s false

or

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

$esxcli = Get-EsxCli -v2
$arguments = $esxcli.system.account.set.CreateArgs()
$arguments.id = "dcui"
$arguments.shellaccess = "false"
$esxcli.system.account.set.invoke($arguments)

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_VMW_vSphere_8-0_Y24M08_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-265976r1003584_rule, STIG-ID|ESXI-80-000249, Vuln-ID|V-265976

Plugin: Unix

Control ID: 64e5d03f53cf47ff8048221d73b03d37d6cdb7f2063ff84c47aa89bede564acb