diff options
Diffstat (limited to 'instfiles')
-rw-r--r-- | instfiles/pam.d/Makefile.am | 3 | ||||
-rwxr-xr-x | instfiles/pam.d/mkpamrules | 5 | ||||
-rw-r--r-- | instfiles/pam.d/xrdp-sesman.arch | 5 |
3 files changed, 12 insertions, 1 deletions
diff --git a/instfiles/pam.d/Makefile.am b/instfiles/pam.d/Makefile.am index 72031575..4d772a3a 100644 --- a/instfiles/pam.d/Makefile.am +++ b/instfiles/pam.d/Makefile.am @@ -4,7 +4,8 @@ PAM_FILES = \ xrdp-sesman.suse \ xrdp-sesman.freebsd \ xrdp-sesman.macos \ - xrdp-sesman.unix + xrdp-sesman.unix \ + xrdp-sesman.arch EXTRA_DIST = $(PAM_FILES) mkpamrules diff --git a/instfiles/pam.d/mkpamrules b/instfiles/pam.d/mkpamrules index 2d268281..e1c0ef45 100755 --- a/instfiles/pam.d/mkpamrules +++ b/instfiles/pam.d/mkpamrules @@ -35,6 +35,11 @@ guess_rules () return fi + if test -s "$pamdir/system-remote-login"; then + rules="arch" + return + fi + rules="unix" return } diff --git a/instfiles/pam.d/xrdp-sesman.arch b/instfiles/pam.d/xrdp-sesman.arch new file mode 100644 index 00000000..d303ab79 --- /dev/null +++ b/instfiles/pam.d/xrdp-sesman.arch @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include system-remote-login +account include system-remote-login +password include system-remote-login +session include system-remote-login |