aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-08-21 21:58:42 -0500
committerTed Gould <ted@gould.cx>2012-08-21 21:58:42 -0500
commitc913f062187752d8ecb64b264ccbbe592c10ffda (patch)
tree2aef94e4c74a7b7010acc3fa21446515e2b3f603
parent7f1413575c86204921543b72234464efcba88b29 (diff)
downloadlightdm-remote-session-remoteconfigure-c913f062187752d8ecb64b264ccbbe592c10ffda.tar.gz
lightdm-remote-session-remoteconfigure-c913f062187752d8ecb64b264ccbbe592c10ffda.tar.bz2
lightdm-remote-session-remoteconfigure-c913f062187752d8ecb64b264ccbbe592c10ffda.zip
Add a PAM session configuration
-rw-r--r--Makefile.am10
-rw-r--r--lightdm-remote-uccsconfigure2
2 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d1882ce..708b0bc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -16,6 +16,16 @@ EXTRA_DIST += uccsconfigure.desktop.in
CLEANFILES += uccsconfigure.desktop
###############################
+# The PAM session
+###############################
+
+pam_sessiondir = $(sysconfdir)/pam.d/
+pam_session_DATA = \
+ lightdm-remote-uccsconfigure
+
+EXTRA_DIST += lightdm-remote-uccsconfigure
+
+###############################
# The session script
###############################
diff --git a/lightdm-remote-uccsconfigure b/lightdm-remote-uccsconfigure
new file mode 100644
index 0000000..08f5b0b
--- /dev/null
+++ b/lightdm-remote-uccsconfigure
@@ -0,0 +1,2 @@
+#%PAM-1.0
+@include lightdm-autologin