STIGQter STIGQter: STIG Summary: Red Hat Enterprise Linux 8 Security Technical Implementation Guide Version: 1 Release: 2 Benchmark Date: 23 Apr 2021:

RHEL 8 must ensure a password complexity module is enabled.

DISA Rule

SV-230356r627750_rule

Vulnerability Number

V-230356

Group Title

SRG-OS-000069-GPOS-00037

Rule Version

RHEL-08-020100

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Configure the operating system to use "pwquality" to enforce password complexity rules.

Add the following line to both "/etc/pam.d/password-auth" and "/etc/pam.d/system-auth" (or modify the line to have the required value):

password required pam_pwquality.so retry=3

Check Contents

Verify the operating system uses "pwquality" to enforce the password complexity rules.

Check for the use of "pwquality" with the following commands:

$ sudo cat /etc/pam.d/password-auth | grep pam_pwquality

password required pam_pwquality.so retry=3

$ sudo cat /etc/pam.d/system-auth | grep pam_pwquality

password required pam_pwquality.so retry=3

If both commands do not return a line containing the value "pam_pwquality.so", or the line is commented out, this is a finding.

If the value of "retry" is set to "0" or greater than "3", this is a finding.

Vulnerability Number

V-230356

Documentable

False

Rule Version

RHEL-08-020100

Severity Override Guidance

Verify the operating system uses "pwquality" to enforce the password complexity rules.

Check for the use of "pwquality" with the following commands:

$ sudo cat /etc/pam.d/password-auth | grep pam_pwquality

password required pam_pwquality.so retry=3

$ sudo cat /etc/pam.d/system-auth | grep pam_pwquality

password required pam_pwquality.so retry=3

If both commands do not return a line containing the value "pam_pwquality.so", or the line is commented out, this is a finding.

If the value of "retry" is set to "0" or greater than "3", this is a finding.

Check Content Reference

M

Target Key

2921

Comments