From c913f062187752d8ecb64b264ccbbe592c10ffda Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Tue, 21 Aug 2012 21:58:42 -0500 Subject: Add a PAM session configuration --- Makefile.am | 10 ++++++++++ lightdm-remote-uccsconfigure | 2 ++ 2 files changed, 12 insertions(+) create mode 100644 lightdm-remote-uccsconfigure diff --git a/Makefile.am b/Makefile.am index d1882ce..708b0bc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -15,6 +15,16 @@ lightdm_session_DATA = \ 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 -- cgit v1.2.3