File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
roles/os_hardening/templates/etc/pam.d Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,12 @@ account [default=bad success=ok user_unknown=ignore] pam_sss.so
3333account required pam_permit.so
3434
3535{% if (os_auth_pam_passwdqc_enable | bool ) %}
36- password required pam_pwquality.so {{ os_auth_pam_pwquality_options }}
36+ password requisite pam_pwquality.so {{ os_auth_pam_pwquality_options }}
3737{% endif %}
38- {# NSA 2.3.3.5 Upgrade Password Hashing Algorithm to SHA-512 #}
3938{# NSA 2.3.3.6 Limit Password Reuse #}
40- password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok remember=5
39+ password requisite pam_pwhistory.so remember=5 use_authtok
40+ {# NSA 2.3.3.5 Upgrade Password Hashing Algorithm to SHA-512 #}
41+ password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok
4142{% if (os_auth_pam_sssd_enable | bool ) %}
4243password sufficient pam_sss.so use_authtok
4344{% endif %}
You can’t perform that action at this time.
0 commit comments