diff options
author | 2020-10-26 08:33:23 +0000 | |
---|---|---|
committer | 2020-10-26 21:14:00 +0000 | |
commit | 473b931a56c9387cc6a1e1eddef2260fc9f3896f (patch) | |
tree | 7bf305f98d0985750b90845b55114303103a2e5b | |
parent | templates/system-auth.tpl: use faillock in minimal case (diff) | |
download | pambase-473b931a56c9387cc6a1e1eddef2260fc9f3896f.tar.gz pambase-473b931a56c9387cc6a1e1eddef2260fc9f3896f.tar.bz2 pambase-473b931a56c9387cc6a1e1eddef2260fc9f3896f.zip |
templates/system-login.tpl: always need faillock
Fixes: eb138196aa2d3cb860d5eb5ab1d05985df34ad2c
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | templates/system-auth.tpl | 2 | ||||
-rw-r--r-- | templates/system-login.tpl | 2 |
2 files changed, 0 insertions, 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 |