public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pambase:master commit in: /
Date: Thu, 18 Jun 2020 10:11:51 +0000 (UTC)	[thread overview]
Message-ID: <1592474918.75cd44e94032b13bba41539737d6ac63623217e1.zlogene@gentoo> (raw)

commit:     75cd44e94032b13bba41539737d6ac63623217e1
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 18 10:02:10 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Jun 18 10:08:38 2020 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=75cd44e9

move faillock last in auth

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 system-auth.in  | 12 ++++++------
 system-login.in | 11 ++++++-----
 2 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/system-auth.in b/system-auth.in
index 6eea7bc..9ae09e4 100644
--- a/system-auth.in
+++ b/system-auth.in
@@ -2,12 +2,6 @@
 auth		required	pam_env.so DEBUG
 #endif
 
-#if HAVE_FAILLOCK
-auth            required        pam_faillock.so preauth silent audit deny=3 unlock_time=600
-auth            sufficient      pam_unix.so nullok try_first_pass
-auth            [default=die]   pam_faillock.so authfail audit deny=3 unlock_time=600
-#endif
-
 #if HAVE_PAM_SSH
 auth		sufficient	pam_ssh.so
 #endif
@@ -18,6 +12,12 @@ auth		required	pam_unix.so try_first_pass LIKEAUTH NULLOK DEBUG
 /* This is needed to make sure that the Kerberos skip-on-success won't cause a bad jump. */
 auth		optional	pam_permit.so
 
+#if HAVE_FAILLOCK
+auth            required        pam_faillock.so preauth silent audit deny=3 unlock_time=600
+auth            sufficient      pam_unix.so nullok try_first_pass
+auth            [default=die]   pam_faillock.so authfail audit deny=3 unlock_time=600
+#endif
+
 #if HAVE_KRB5
 account		KRB5_CONTROL	pam_krb5.so KRB5_PARAMS
 #endif

diff --git a/system-login.in b/system-login.in
index 9e82d60..ee03613 100644
--- a/system-login.in
+++ b/system-login.in
@@ -1,8 +1,3 @@
-#if HAVE_FAILLOCK
-auth            required        pam_faillock.so preauth silent audit deny=3 unlock_time=600
-auth            sufficient	pam_unix.so nullok try_first_pass
-auth            [default=die]   pam_faillock.so authfail audit deny=3 unlock_time=600
-#endif
 
 #if HAVE_SHELLS
 auth		required	pam_shells.so DEBUG
@@ -12,6 +7,12 @@ auth		required	pam_nologin.so DEBUG_NOLOGIN
 #endif
 auth		include		system-auth
 
+#if HAVE_FAILLOCK
+auth            required        pam_faillock.so preauth silent audit deny=3 unlock_time=600
+auth            sufficient      pam_unix.so nullok try_first_pass
+auth            [default=die]   pam_faillock.so authfail audit deny=3 unlock_time=600
+#endif
+
 #if HAVE_ACCESS
 account		required	pam_access.so DEBUG
 #endif


             reply	other threads:[~2020-06-18 10:11 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-18 10:11 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-13 21:15 [gentoo-commits] proj/pambase:master commit in: / Mike Gilbert
2025-04-13 21:15 Mike Gilbert
2025-04-13 21:15 Mike Gilbert
2025-04-13 21:15 Mike Gilbert
2025-04-13 21:15 Mike Gilbert
2025-04-13 21:15 Mike Gilbert
2025-02-23 23:46 Sam James
2023-11-13  6:20 Sam James
2021-11-14 11:55 Mikle Kolyada
2020-10-12 15:28 Sam James
2020-08-05  6:13 Sam James
2020-08-05  6:04 Sam James
2020-06-17 18:30 Mikle Kolyada
2020-06-16 16:26 Mikle Kolyada
2020-06-10 11:50 Mikle Kolyada
2020-06-10 11:50 Mikle Kolyada
2020-04-29 21:37 Mikle Kolyada
2020-03-04 17:32 David Seifert
2019-11-28 18:21 Mikle Kolyada
2019-11-27  9:27 Mikle Kolyada
2019-11-24 14:37 Mikle Kolyada
2019-11-15 18:09 Mikle Kolyada
2019-04-02 13:11 Mikle Kolyada
2015-05-17  5:22 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2015-02-15  4:48 Mike Frysinger
2014-03-13 14:40 Samuli Suominen
2014-03-13 14:17 Samuli Suominen
2014-03-13 14:12 Samuli Suominen
2012-04-17  7:10 Paweł Hajdan

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=1592474918.75cd44e94032b13bba41539737d6ac63623217e1.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