From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pambase:master commit in: templates/
Date: Sat, 10 Oct 2020 15:40:50 +0000 (UTC) [thread overview]
Message-ID: <1602344234.b54edff3a6724bba19fd803042909cc448d169fd.zlogene@gentoo> (raw)
commit: b54edff3a6724bba19fd803042909cc448d169fd
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:35:39 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 15:37:14 2020 +0000
URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=b54edff3
switch pam_faillock.so to its config file
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
templates/system-auth.tpl | 4 ++--
templates/system-login.tpl | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index 46fc131..1bb53ae 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -10,9 +10,9 @@ 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 silent audit deny=3 unlock_time=600
+auth required pam_faillock.so preauth conf=/etc/security/faillock.conf
auth sufficient pam_unix.so {{ nullok|default('', true) }} try_first_pass
-auth [default=die] pam_faillock.so authfail audit deny=3 unlock_time=600
+auth [default=die] pam_faillock.so authfail
{% endif %}
{% if krb5 %}
diff --git a/templates/system-login.tpl b/templates/system-login.tpl
index d51481b..bb4f093 100644
--- a/templates/system-login.tpl
+++ b/templates/system-login.tpl
@@ -2,9 +2,9 @@ auth required pam_shells.so {{ debug|default('', true) }}
auth required pam_nologin.so
auth include system-auth
{% if not minimal %}
-auth required pam_faillock.so preauth silent audit deny=3 unlock_time=600
+auth required pam_faillock.so preauth conf=/etc/security/faillock.conf
auth sufficient pam_unix.so nullok try_first_pass
-auth [default=die] pam_faillock.so authfail audit deny=3 unlock_time=600
+auth [default=die] pam_faillock.so authfail
{% endif %}
account required pam_access.so {{ debug|default('', true) }}
next reply other threads:[~2020-10-10 15:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-10 15:40 Mikle Kolyada [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-28 8:14 [gentoo-commits] proj/pambase:master commit in: templates/ Sam James
2022-08-13 18:29 Sam James
2022-08-13 18:29 Sam James
2022-08-13 18:29 Sam James
2022-02-14 16:52 Sam James
2021-02-02 20:56 Sam James
2020-12-20 17:53 Mikle Kolyada
2020-12-19 22:34 Mikle Kolyada
2020-11-03 7:22 Sam James
2020-11-02 23:41 Sam James
2020-10-28 19:25 Mikle Kolyada
2020-10-28 16:15 Mikle Kolyada
2020-10-26 22:49 Sam James
2020-10-26 22:49 Sam James
2020-10-26 22:49 Sam James
2020-10-20 2:38 Sam James
2020-10-12 17:30 Sam James
2020-10-12 15:32 Sam James
2020-10-12 15:28 Sam James
2020-10-12 15:28 Sam James
2020-10-12 15:28 Sam James
2020-09-09 16:36 Mikle Kolyada
2020-08-05 6:10 Sam James
2020-08-04 13:36 Mikle Kolyada
2020-08-04 12:41 Mikle Kolyada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1602344234.b54edff3a6724bba19fd803042909cc448d169fd.zlogene@gentoo \
--to=zlogene@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox