RHEL-07-010190 - The Red Hat Enterprise Linux operating system must be configured so that when passwords are changed the number of repeating characters of the same character class must not be more than four characters.

Information

Use of a complex password helps to increase the time and resources required to compromise the password. Password complexity, or strength, is a measure of the effectiveness of a password in resisting attempts at guessing and brute-force attacks.

Password complexity is one factor of several that determines how long it takes to crack a password. The more complex the password, the greater the number of possible combinations that need to be tested before the password is compromised.

Solution

Configure the operating system to require the change of the number of repeating characters of the same character class when passwords are changed by setting the 'maxclassrepeat' option.

Add the following line to '/etc/security/pwquality.conf' conf (or modify the line to have the required value):

maxclassrepeat = 4

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_RHEL_7_V3R15_STIG.zip

Item Details

Category: IDENTIFICATION AND AUTHENTICATION

References: 800-53|IA-5(1)(b), CAT|II, CCI|CCI-000195, Rule-ID|SV-204414r982198_rule, STIG-ID|RHEL-07-010190, STIG-Legacy|SV-86541, STIG-Legacy|V-71917, Vuln-ID|V-204414

Plugin: Unix

Control ID: 5f65e24613a4850a481a5e6dd367f0ab4d4901bd5923db50831a4ce9b918034f