SV-265976r1003584_rule
V-265976
SRG-OS-000480-VMM-002000
ESXI-80-000249
CAT II
10
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)
From an ESXi shell, run the following command:
# esxcli system account list
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.system.account.list.Invoke() | Where-Object {$_.UserID -eq 'dcui'}
If shell access is not disabled for the dcui account, this is a finding.
V-265976
False
ESXI-80-000249
From an ESXi shell, run the following command:
# esxcli system account list
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
$esxcli = Get-EsxCli -v2
$esxcli.system.account.list.Invoke() | Where-Object {$_.UserID -eq 'dcui'}
If shell access is not disabled for the dcui account, this is a finding.
M
5562