aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-17 22:39:34 -0500
committerTed Gould <ted@gould.cx>2012-08-17 22:39:34 -0500
commit24f787b5d2af756fe8bb02ef1fed53bf51c0305a (patch)
tree9e873bfdd20375db980aa3fc3877b3735c9ce1e1
parentb038ae42051de65da8cdf8baf44f1b7bf5583365 (diff)
downloadlightdm-remote-session-freerdp2-24f787b5d2af756fe8bb02ef1fed53bf51c0305a.tar.gz
lightdm-remote-session-freerdp2-24f787b5d2af756fe8bb02ef1fed53bf51c0305a.tar.bz2
lightdm-remote-session-freerdp2-24f787b5d2af756fe8bb02ef1fed53bf51c0305a.zip
Adding a starting PAM configuration file.
-rw-r--r--Makefile.am7
-rw-r--r--lightdm-remote-freerdp7
2 files changed, 14 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d6a1287..51fd14b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,11 @@
+pam_sessiondir = $(sysconfdir)/pam.d/
+pam_session_DATA = \
+ lightdm-remote-freerdp
+
+EXTRA_DIST = \
+ $(pam_session_DATA)
+
DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall
dist-hook:
diff --git a/lightdm-remote-freerdp b/lightdm-remote-freerdp
new file mode 100644
index 0000000..d79bc2e
--- /dev/null
+++ b/lightdm-remote-freerdp
@@ -0,0 +1,7 @@
+#%PAM-1.0
+auth requisite pam_nologin.so
+auth required pam_env.so readenv=1
+auth required pam_env.so readenv=1 envfile=/etc/default/locale
+auth required pam_freerdp.so
+session required pam_limits.so
+session required pam_freerdp.so