commit:     473b931a56c9387cc6a1e1eddef2260fc9f3896f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 26 08:33:23 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 26 21:14:00 2020 +0000
URL:        https://gitweb.gentoo.org/proj/pambase.git/commit/?id=473b931a

templates/system-login.tpl: always need faillock

Fixes: eb138196aa2d3cb860d5eb5ab1d05985df34ad2c
Signed-off-by: Sam James <sam <AT> gentoo.org>

 templates/system-auth.tpl  | 2 --
 templates/system-login.tpl | 2 --
 2 files changed, 4 deletions(-)

diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index faf18ee..8b61701 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -17,9 +17,7 @@ account               [success=1 default=ignore]      
pam_krb5.so {{ krb5_params }}
 {% endif %}
 account                required        pam_unix.so {{ debug|default('', true) 
}}
 account                optional        pam_permit.so
-{% if not minimal %}
 account         required        pam_faillock.so
-{% endif %}
 
 {% if passwdqc %}
 password       required        pam_passwdqc.so 
config=/etc/security/passwdqc.conf

diff --git a/templates/system-login.tpl b/templates/system-login.tpl
index 889c2d7..6a0d544 100644
--- a/templates/system-login.tpl
+++ b/templates/system-login.tpl
@@ -5,9 +5,7 @@ auth            include         system-auth
 account                required        pam_access.so {{ debug|default('', 
true) }}
 account                required        pam_nologin.so
 account                include         system-auth
-{% if not minimal %}
 account         required        pam_faillock.so
-{% endif %}
 
 password       include         system-auth
 session         optional        pam_loginuid.so

Reply via email to