remove pam_tally2

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2021-02-08 08:09:43 +01:00
1 parent a17f4a6f45
commit a55a4d2024
5 files changed
+4 -43

No files matched your search

@@ -30,7 +30,7 @@ MAIL_DIR {{ os_useradd_mail_dir }}
CREATE_HOME {{ 'yes' if os_useradd_create_home else 'no' }}
{% endif %}
# Enable logging and display of `/var/log/faillog` login failure info. This option conflicts with the `pam_tally` PAM module.
# Enable logging and display of `/var/log/faillog` login failure info.
FAILLOG_ENAB yes
# Enable display of unknown usernames when login failures are recorded.
@@ -3,7 +3,6 @@
#%PAM-1.0
{% if os_auth_retries > 0 %}
auth required pam_tally2.so deny={{ os_auth_retries }} onerr=fail unlock_time={{ os_auth_lockout_time }}
{% endif %}
auth required pam_env.so
auth sufficient pam_unix.so nullok try_first_pass
@@ -11,7 +10,6 @@ auth requisite pam_succeed_if.so uid >= 500 quiet
auth required pam_deny.so
{% if os_auth_retries > 0 %}
account required pam_tally2.so
{% endif %}
account required pam_unix.so
account sufficient pam_localuser.so