1 |
commit: 7eaf47da1d6cd18a8253c25213c34b16ae08e87f |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 4 17:32:01 2020 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 4 17:32:01 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/pambase.git/commit/?id=7eaf47da |
7 |
|
8 |
Run pam_env.so after pam_systemd.so for better socket support |
9 |
|
10 |
* Running pam_systemd.so before setting user environment |
11 |
variables makes it possible for the user to use variables |
12 |
such as `XDG_RUNTIME_DIR` in their own definitions. |
13 |
|
14 |
Bug: https://bugs.gentoo.org/711450 |
15 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
16 |
|
17 |
system-auth.in | 2 +- |
18 |
1 file changed, 1 insertion(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/system-auth.in b/system-auth.in |
21 |
index 02d0e50..e65e4c2 100644 |
22 |
--- a/system-auth.in |
23 |
+++ b/system-auth.in |
24 |
@@ -34,7 +34,6 @@ password optional pam_permit.so |
25 |
#if HAVE_PAM_SSH |
26 |
session optional pam_ssh.so |
27 |
#endif |
28 |
-#include "system-session.inc" |
29 |
|
30 |
#if HAVE_SYSTEMD |
31 |
-session optional pam_systemd.so |
32 |
@@ -47,3 +46,4 @@ session optional pam_ssh.so |
33 |
#if HAVE_LIBCAP |
34 |
auth optional pam_cap.so |
35 |
#endif |
36 |
+#include "system-session.inc" |