From 24f787b5d2af756fe8bb02ef1fed53bf51c0305a Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 17 Aug 2012 22:39:34 -0500 Subject: Adding a starting PAM configuration file. --- Makefile.am | 7 +++++++ lightdm-remote-freerdp | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 lightdm-remote-freerdp 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 -- cgit v1.2.3