content
content copied to clipboard
5.4.1 Ensure password creation requirements are configured (Scored)
Will require breaking down into individual rules
Only rule for try_first_pass is needed, others are covered by:
- accounts_password_pam_retry
- accounts_password_pam_minlen
- accounts_password_pam_minclass
Can we reopen this one? The try_first_pass rule was never implemented so we haven't fully met this control.
I confirmed this rule is missing.
I reserved some time to investigate this case today and here are some information from the analysis.
I have checked RHEL7, RHEL8, RHEL9 and Fedora systems and confirmed the pam_pwquality.so is, by default, always the first module in the password stack. I also didn't find any realistic demand to include another module before it.
Therefore, try_first_pass option is useless in pam_pwquality.so. This option is also not available in pwquality.conf file and is not part of default authselect profiles.
I already proposed to remove it from the description and audit sections in CIS Benchmark. https://workbench.cisecurity.org/sections/1149671/recommendations/1873468 https://workbench.cisecurity.org/sections/1619100/recommendations/2856243