Add a pam file for FreeBSD

as existing xrdp-sesman.unix doesn't suit FreeBSD.
This commit is contained in:
Koichiro IWAO
2017-07-19 15:17:10 +09:00
committed by metalefty
parent 8b4d057af2
commit 9f8a902476
4 changed files with 12 additions and 1 deletions
+1
View File
@@ -2,6 +2,7 @@ PAM_FILES = \
xrdp-sesman.debian \
xrdp-sesman.redhat \
xrdp-sesman.suse \
xrdp-sesman.freebsd \
xrdp-sesman.unix
EXTRA_DIST = $(PAM_FILES) mkpamrules
+5
View File
@@ -25,6 +25,11 @@ guess_rules ()
return
fi
if test ! -f "$pamdir/system-auth" -a -s "$pamdir/system"; then
rules="freebsd"
return
fi
rules="unix"
return
}
+5
View File
@@ -0,0 +1,5 @@
#%PAM-1.0
auth include system
account include system
password include system
session include system