diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-10 15:41:56 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-05-10 15:46:27 -0400 |
commit | a20fc02bda77dea232b0e3eb82dca9bef7dc3861 (patch) | |
tree | a33670e1b6a6e4d3bf5a32a5f404e71214a91cbb /src/grp-login/pam_systemd | |
parent | 0dbfeb32955bccd4360f7142ecc24b8012db6f27 (diff) |
fixo
Diffstat (limited to 'src/grp-login/pam_systemd')
-rw-r--r-- | src/grp-login/pam_systemd/.gitignore | 1 | ||||
-rw-r--r-- | src/grp-login/pam_systemd/Makefile | 2 | ||||
-rw-r--r-- | src/grp-login/pam_systemd/systemd-user.pam.m4 | 12 |
3 files changed, 14 insertions, 1 deletions
diff --git a/src/grp-login/pam_systemd/.gitignore b/src/grp-login/pam_systemd/.gitignore new file mode 100644 index 0000000000..f3bb5b971b --- /dev/null +++ b/src/grp-login/pam_systemd/.gitignore @@ -0,0 +1 @@ +/systemd-user diff --git a/src/grp-login/pam_systemd/Makefile b/src/grp-login/pam_systemd/Makefile index 2243572b11..4239d23df5 100644 --- a/src/grp-login/pam_systemd/Makefile +++ b/src/grp-login/pam_systemd/Makefile @@ -47,7 +47,7 @@ pamlib_LTLIBRARIES = \ pam_systemd.la ifneq ($(ENABLE_PAM_CONFIG),) -dist_pamconf_DATA = \ +nodist_pamconf_DATA = \ src/login/systemd-user endif diff --git a/src/grp-login/pam_systemd/systemd-user.pam.m4 b/src/grp-login/pam_systemd/systemd-user.pam.m4 new file mode 100644 index 0000000000..e33963b125 --- /dev/null +++ b/src/grp-login/pam_systemd/systemd-user.pam.m4 @@ -0,0 +1,12 @@ +# This file is part of systemd. +# +# Used by systemd --user instances. + +account required pam_unix.so + +m4_ifdef(`HAVE_SELINUX', +session required pam_selinux.so close +session required pam_selinux.so nottys open +)m4_dnl +session required pam_loginuid.so +session optional pam_systemd.so |