1 |
commit: 473b931a56c9387cc6a1e1eddef2260fc9f3896f |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Oct 26 08:33:23 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 26 21:14:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=473b931a |
7 |
|
8 |
templates/system-login.tpl: always need faillock |
9 |
|
10 |
Fixes: eb138196aa2d3cb860d5eb5ab1d05985df34ad2c |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
templates/system-auth.tpl | 2 -- |
14 |
templates/system-login.tpl | 2 -- |
15 |
2 files changed, 4 deletions(-) |
16 |
|
17 |
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl |
18 |
index faf18ee..8b61701 100644 |
19 |
--- a/templates/system-auth.tpl |
20 |
+++ b/templates/system-auth.tpl |
21 |
@@ -17,9 +17,7 @@ account [success=1 default=ignore] pam_krb5.so {{ krb5_params }} |
22 |
{% endif %} |
23 |
account required pam_unix.so {{ debug|default('', true) }} |
24 |
account optional pam_permit.so |
25 |
-{% if not minimal %} |
26 |
account required pam_faillock.so |
27 |
-{% endif %} |
28 |
|
29 |
{% if passwdqc %} |
30 |
password required pam_passwdqc.so config=/etc/security/passwdqc.conf |
31 |
|
32 |
diff --git a/templates/system-login.tpl b/templates/system-login.tpl |
33 |
index 889c2d7..6a0d544 100644 |
34 |
--- a/templates/system-login.tpl |
35 |
+++ b/templates/system-login.tpl |
36 |
@@ -5,9 +5,7 @@ auth include system-auth |
37 |
account required pam_access.so {{ debug|default('', true) }} |
38 |
account required pam_nologin.so |
39 |
account include system-auth |
40 |
-{% if not minimal %} |
41 |
account required pam_faillock.so |
42 |
-{% endif %} |
43 |
|
44 |
password include system-auth |
45 |
session optional pam_loginuid.so |