commit:     e0835e729bcf04f501d4610cf3925ec41b37c5f5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 12 17:30:18 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 12 17:30:18 2020 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=e0835e72

templates/system-auth.tpl: drop superfluous conf param on faillock

pam_faillock defaults to /etc/security/faillock.conf anyway.

Closes: https://bugs.gentoo.org/747967
Signed-off-by: Sam James <sam <AT> gentoo.org>

 templates/system-auth.tpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 %}

Reply via email to