diff options
author | Ted Gould <ted@gould.cx> | 2012-08-17 22:39:34 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-08-17 22:39:34 -0500 |
commit | 72d54293d2db67b2e1eb535d2dd995eb3da35ac2 (patch) | |
tree | 9e873bfdd20375db980aa3fc3877b3735c9ce1e1 | |
parent | 3d6f98d474a0e60477aa0be4718f63573b643dde (diff) | |
download | lightdm-remote-session-x2go-72d54293d2db67b2e1eb535d2dd995eb3da35ac2.tar.gz lightdm-remote-session-x2go-72d54293d2db67b2e1eb535d2dd995eb3da35ac2.tar.bz2 lightdm-remote-session-x2go-72d54293d2db67b2e1eb535d2dd995eb3da35ac2.zip |
Adding a starting PAM configuration file.
-rw-r--r-- | Makefile.am | 7 | ||||
-rw-r--r-- | lightdm-remote-freerdp | 7 |
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 |