diff options
author | David Seifert <soap@gentoo.org> | 2020-03-04 18:32:01 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2020-03-04 18:32:01 +0100 |
commit | 7eaf47da1d6cd18a8253c25213c34b16ae08e87f (patch) | |
tree | 33247d8848799f2dcae95ddb1ad2c335ccfd3d97 | |
parent | handle envfile with pam_env.so (diff) | |
download | pambase-7eaf47da1d6cd18a8253c25213c34b16ae08e87f.tar.gz pambase-7eaf47da1d6cd18a8253c25213c34b16ae08e87f.tar.bz2 pambase-7eaf47da1d6cd18a8253c25213c34b16ae08e87f.zip |
Run pam_env.so after pam_systemd.so for better socket supportpambase-20200304
* Running pam_systemd.so before setting user environment
variables makes it possible for the user to use variables
such as `XDG_RUNTIME_DIR` in their own definitions.
Bug: https://bugs.gentoo.org/711450
Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r-- | system-auth.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system-auth.in b/system-auth.in index 02d0e50..e65e4c2 100644 --- a/system-auth.in +++ b/system-auth.in @@ -34,7 +34,6 @@ password optional pam_permit.so #if HAVE_PAM_SSH session optional pam_ssh.so #endif -#include "system-session.inc" #if HAVE_SYSTEMD -session optional pam_systemd.so @@ -47,3 +46,4 @@ session optional pam_ssh.so #if HAVE_LIBCAP auth optional pam_cap.so #endif +#include "system-session.inc" |