Skip to content

Commit d693a8e

Browse files
committed
also use requisite for pwhistory
Signed-off-by: Martin Schurz <[email protected]>
1 parent 0ac56e4 commit d693a8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/os_hardening/templates/etc/pam.d/rhel_auth.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ account required pam_permit.so
3636
password requisite pam_pwquality.so {{ os_auth_pam_pwquality_options }}
3737
{% endif %}
3838
{# NSA 2.3.3.6 Limit Password Reuse #}
39-
password required pam_pwhistory.so remember=5 use_authtok
39+
password requisite pam_pwhistory.so remember=5 use_authtok
4040
{# NSA 2.3.3.5 Upgrade Password Hashing Algorithm to SHA-512 #}
4141
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok
4242
{% if (os_auth_pam_sssd_enable | bool) %}

0 commit comments

Comments
 (0)