SV-279610r1192571_rule
V-279610
SRG-OS-000076-GPOS-00044
NXAC-OS-000167
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 a 60-day maximum password lifetime using the following command.
$ sudo grep -i pass_max_days /etc/login.defs
PASS_MAX_DAYS 60
If the "PASS_MAX_DAYS" parameter value is not 60 or less, or is commented out, this is a finding.
2. Run the following command.
$ sudo awk -F: '$5 > 60 {print $1 " " $5}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
V-279610
False
NXAC-OS-000167
1. Verify Nutanix AOS is configured to enforce a 60-day maximum password lifetime using the following command.
$ sudo grep -i pass_max_days /etc/login.defs
PASS_MAX_DAYS 60
If the "PASS_MAX_DAYS" parameter value is not 60 or less, or is commented out, this is a finding.
2. Run the following command.
$ sudo awk -F: '$5 > 60 {print $1 " " $5}' /etc/shadow
If any results are returned that are not associated with a system account, this is a finding.
M
5730