summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-10-12 17:30:18 +0000
committerSam James <sam@gentoo.org>2020-10-12 17:30:18 +0000
commite0835e729bcf04f501d4610cf3925ec41b37c5f5 (patch)
tree8b2044518818f7c6fda1211c2ce4d602307a080a
parenttemplates/system-login.tpl: remove duplicate block already in system-auth (diff)
downloadpambase-e0835e729bcf04f501d4610cf3925ec41b37c5f5.tar.gz
pambase-e0835e729bcf04f501d4610cf3925ec41b37c5f5.tar.bz2
pambase-e0835e729bcf04f501d4610cf3925ec41b37c5f5.zip
templates/system-auth.tpl: drop superfluous conf param on faillockpambase-20201013
pam_faillock defaults to /etc/security/faillock.conf anyway. Closes: https://bugs.gentoo.org/747967 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--templates/system-auth.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index 557da9b..bc28468 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -10,7 +10,7 @@ auth [success=1 default=ignore] pam_krb5.so {{ krb5_params }}
auth required pam_unix.so try_first_pass {{ likeauth }} {{ nullok|default('', true) }} {{ debug|default('', true) }}
auth optional pam_permit.so
{% if not minimal %}
-auth required pam_faillock.so preauth conf=/etc/security/faillock.conf
+auth required pam_faillock.so preauth
auth sufficient pam_unix.so nullok try_first_pass
auth [default=die] pam_faillock.so authfail
{% endif %}