SV-252657r991589_rule
V-252657
SRG-OS-000480-GPOS-00227
OL08-00-020101
CAT II
10
Configure the operating system to use "pwquality" to enforce password complexity rules.
Add the following line to the "/etc/pam.d/system-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 system-auth file with the following command:
$ sudo cat /etc/pam.d/system-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-252657
False
OL08-00-020101
Verify the operating system uses "pwquality" to enforce the password complexity rules.
Check for the use of "pwquality" in the system-auth file with the following command:
$ sudo cat /etc/pam.d/system-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
5416