make pam the default and install the pam.d file

This commit is contained in:
jsorg71 2005-09-20 01:34:53 +00:00
parent d754fe660e
commit 27abee98ce
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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