SV-230356r982195_rule
V-230356
SRG-OS-000069-GPOS-00037
RHEL-08-020100
CAT II
10
Configure the operating system to use "pwquality" to enforce password complexity rules.
Add the following line to the "/etc/pam.d/password-auth" file (or modify the line to have the required value):
password requisite pam_pwquality.so
Verify the operating system uses "pwquality" to enforce the password complexity rules.
Check for the use of "pwquality" in the password-auth file with the following command:
$ sudo cat /etc/pam.d/password-auth | grep pam_pwquality
password requisite pam_pwquality.so
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.
V-230356
False
RHEL-08-020100
Verify the operating system uses "pwquality" to enforce the password complexity rules.
Check for the use of "pwquality" in the password-auth file with the following command:
$ sudo cat /etc/pam.d/password-auth | grep pam_pwquality
password requisite pam_pwquality.so
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.
M
2921