1 |
commit: de5f97873c345b69c44df5a9d06fcd69ee6c5ccf |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 28 19:24:04 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 28 19:24:04 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=de5f9787 |
7 |
|
8 |
fix number of jumps when pam_krb5 used |
9 |
|
10 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
11 |
|
12 |
templates/system-auth.tpl | 2 +- |
13 |
templates/system-login.tpl | 1 - |
14 |
2 files changed, 1 insertion(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl |
17 |
index 6edba8d..6964e05 100644 |
18 |
--- a/templates/system-auth.tpl |
19 |
+++ b/templates/system-auth.tpl |
20 |
@@ -4,7 +4,7 @@ auth sufficient pam_ssh.so |
21 |
{% endif %} |
22 |
|
23 |
{% if krb5 %} |
24 |
-auth [success=4 default=ignore] pam_krb5.so {{ krb5_params }} |
25 |
+auth [success=3 default=ignore] pam_krb5.so {{ krb5_params }} |
26 |
{% endif %} |
27 |
|
28 |
auth requisite pam_faillock.so preauth |
29 |
|
30 |
diff --git a/templates/system-login.tpl b/templates/system-login.tpl |
31 |
index 6a0d544..0c60bb6 100644 |
32 |
--- a/templates/system-login.tpl |
33 |
+++ b/templates/system-login.tpl |
34 |
@@ -5,7 +5,6 @@ auth include system-auth |
35 |
account required pam_access.so {{ debug|default('', true) }} |
36 |
account required pam_nologin.so |
37 |
account include system-auth |
38 |
-account required pam_faillock.so |
39 |
|
40 |
password include system-auth |
41 |
session optional pam_loginuid.so |