From f767ca7e60f2f04f4d7f30da195b56abab4296df Mon Sep 17 00:00:00 2001 From: markm Date: Tue, 27 Mar 2001 19:40:51 +0000 Subject: Add full PAM support for account management and sessions. The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux package's PAM patches to the BSD login.c Submitted by: "David J. MacKenzie" --- usr.bin/login/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.bin/login/Makefile') diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index a9a42bc..970e591 100644 --- a/usr.bin/login/Makefile +++ b/usr.bin/login/Makefile @@ -10,9 +10,8 @@ CFLAGS+=-Wall -DLOGIN_ACCESS -DLOGALL DPADD= ${LIBUTIL} ${LIBCRYPT} LDADD= -lutil -lcrypt -.if defined(NOPAM) -CFLAGS+= -DNO_PAM -.else +.if !defined(NOPAM) +CFLAGS+= -DUSE_PAM DPADD+= ${LIBPAM} LDADD+= ${MINUSLPAM} .endif -- cgit v1.1