summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-09-20 01:34:53 +0000
committerjsorg71 <jsorg71>2005-09-20 01:34:53 +0000
commit27abee98cec71a82d9eeec33af044bee58a86ba8 (patch)
tree40ce65d02e4a88cd0a3c7e795e9f0f1c0251051e
parentd754fe660e23b0143af76ad6d1ea1fa4ab143836 (diff)
downloadxrdp-proprietary-27abee98cec71a82d9eeec33af044bee58a86ba8.tar.gz
xrdp-proprietary-27abee98cec71a82d9eeec33af044bee58a86ba8.zip
make pam the default and install the pam.d file
-rw-r--r--Makefile1
-rw-r--r--instfiles/pam.d/sesman2
-rw-r--r--sesman/Makefile4
3 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 28121e40..eaed7cc8 100644
--- a/Makefile
+++ b/Makefile
@@ -30,3 +30,4 @@ install:
install instfiles/startwm.sh $(DESTDIR)/startwm.sh
install instfiles/xrdp.ini $(DESTDIR)/xrdp.ini
install instfiles/xrdpstart.sh $(DESTDIR)/xrdpstart.sh
+ install instfiles/pam.d/sesman /etc/pam.d/sesman
diff --git a/instfiles/pam.d/sesman b/instfiles/pam.d/sesman
index fdcf7515..1a7a2493 100644
--- a/instfiles/pam.d/sesman
+++ b/instfiles/pam.d/sesman
@@ -1,3 +1,3 @@
#%PAM-1.0
-auth required pam_unix.so shadow use_first_pass nullok
+auth required pam_unix.so shadow nullok
account required pam_unix.so
diff --git a/sesman/Makefile b/sesman/Makefile
index 79256907..e55d6029 100644
--- a/sesman/Makefile
+++ b/sesman/Makefile
@@ -5,9 +5,9 @@ CFLAGS = -Wall -O2 -I../common
LDFLAGS = -L /usr/gnu/lib
CC = gcc
-all: sesman
+all: pam
-sesman: $(SESMANOBJ) verify_user.o
+nopam: $(SESMANOBJ) verify_user.o
$(CC) $(LDFLAGS) -o sesman $(SESMANOBJ) verify_user.o -ldl -lcrypt
pam: $(SESMANOBJ) verify_user_pam.o