From daeb59effa26ace52bf699229a1bc22afe8808fd Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 2 Nov 2020 23:38:12 +0000 Subject: 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 --- templates/system-auth.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" %} -- cgit v1.2.3-65-gdbad