aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-02 23:38:12 +0000
committerSam James <sam@gentoo.org>2020-11-02 23:39:38 +0000
commitdaeb59effa26ace52bf699229a1bc22afe8808fd (patch)
treef322b903119e53914615454b125551d80e9d6b6c
parentfix number of jumps when pam_krb5 used (diff)
downloadpambase-daeb59effa26ace52bf699229a1bc22afe8808fd.tar.gz
pambase-daeb59effa26ace52bf699229a1bc22afe8808fd.tar.bz2
pambase-daeb59effa26ace52bf699229a1bc22afe8808fd.zip
templates/system-auth.tpl: fix pam_cap realm
This fixes the pam_cap realm which can only be auth. This is a regression from old pre-rewrite pambase. It was however exposed by the fixing of an incorrect module name (pam_libcap -> pam_cap) not long ago. Bug: https://bugs.gentoo.org/751946 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--templates/system-auth.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/system-auth.tpl b/templates/system-auth.tpl
index 6964e05..2f2fe76 100644
--- a/templates/system-auth.tpl
+++ b/templates/system-auth.tpl
@@ -48,7 +48,7 @@ session optional pam_ssh.so
{% endif %}
{% if libcap %}
--session optional pam_cap.so
+-auth optional pam_cap.so
{% endif %}
{% include "templates/system-session.tpl" %}