also use requisite for pwhistory

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2021-03-23 08:53:49 +01:00
1 parent 0ac56e4c00
commit d693a8e200
1 file changed
+1 -1
@@ -36,7 +36,7 @@ account required pam_permit.so
password requisite pam_pwquality.so {{ os_auth_pam_pwquality_options }}
{% endif %}
{# NSA 2.3.3.6 Limit Password Reuse #}
password required pam_pwhistory.so remember=5 use_authtok
password requisite pam_pwhistory.so remember=5 use_authtok
{# NSA 2.3.3.5 Upgrade Password Hashing Algorithm to SHA-512 #}
password sufficient pam_unix.so sha512 shadow nullok try_first_pass use_authtok
{% if (os_auth_pam_sssd_enable | bool) %}