diff options
author | 2020-11-02 23:38:12 +0000 | |
---|---|---|
committer | 2020-11-02 23:39:38 +0000 | |
commit | daeb59effa26ace52bf699229a1bc22afe8808fd (patch) | |
tree | f322b903119e53914615454b125551d80e9d6b6c | |
parent | fix number of jumps when pam_krb5 used (diff) | |
download | pambase-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.tpl | 2 |
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" %} |