SV-279605r1192605_rule
V-279605
SRG-OS-000069-GPOS-00037
NXAC-OS-000162
CAT II
10
Configure Nutanix OS to use complex passwords.
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 OS uses "pwquality" to enforce password complexity rules using the following command.
$ sudo cat /etc/pam.d/password-auth | grep pam_pwquality
password requisite pam_pwquality.so try_first_pass …
If the command does not return a line containing the value "pam_pwquality.so" as shown, or the line is commented out, this is a finding.
2. Verify Nutanix AOS is configured to require complex passwords. Note: The value to require a number of uppercase characters to be set is expressed as a negative number in "/etc/security/pwquality.conf".
3. Check the value for "ucredit" in "/etc/security/pwquality.conf" using the following command.
$ sudo grep ucredit /etc/security/pwquality.conf
ucredit = -1
If the value of "ucredit" is not set to a negative value, this is a finding.
V-279605
False
NXAC-OS-000162
1. Verify Nutanix OS uses "pwquality" to enforce password complexity rules using the following command.
$ sudo cat /etc/pam.d/password-auth | grep pam_pwquality
password requisite pam_pwquality.so try_first_pass …
If the command does not return a line containing the value "pam_pwquality.so" as shown, or the line is commented out, this is a finding.
2. Verify Nutanix AOS is configured to require complex passwords. Note: The value to require a number of uppercase characters to be set is expressed as a negative number in "/etc/security/pwquality.conf".
3. Check the value for "ucredit" in "/etc/security/pwquality.conf" using the following command.
$ sudo grep ucredit /etc/security/pwquality.conf
ucredit = -1
If the value of "ucredit" is not set to a negative value, this is a finding.
M
5730