SV-279609r1192569_rule
V-279609
SRG-OS-000075-GPOS-00043
NXAC-OS-000166
CAT II
10
Configure Nutanix OS to use complex password.
1. For AOS, enter the following command.
$ sudo salt-call state.sls security/CVM/pamCVM.sls
2. For Prism Central, enter the following command.
$ sudo salt-call state.sls security/PCVM/pamPCVM.sls
3. For Files, enter the following command.
$ sudo salt-call state.sls security/AFS/pamAFS.sls
4. For AHV OS CVM, enter the following command.
$ ncli cluster edit-hypervisor-security-params enable-high-strength-password=true
1. Verify Nutanix AOS is configured to enforce 24hour/1day minimum password lifetime using the following command.
$ sudo grep -i pass_min_days /etc/login.defs
PASS_MIN_DAYS 1
If the "PASS_MIN_DAYS" parameter value is not "1" or greater, or is commented out, this is a finding.
2. Run the following command.
$ sudo awk -F: '$4 < 1 {print $1 " " $4}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
V-279609
False
NXAC-OS-000166
1. Verify Nutanix AOS is configured to enforce 24hour/1day minimum password lifetime using the following command.
$ sudo grep -i pass_min_days /etc/login.defs
PASS_MIN_DAYS 1
If the "PASS_MIN_DAYS" parameter value is not "1" or greater, or is commented out, this is a finding.
2. Run the following command.
$ sudo awk -F: '$4 < 1 {print $1 " " $4}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
M
5730