diff options
author | markm <markm@FreeBSD.org> | 2001-05-26 09:52:36 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2001-05-26 09:52:36 +0000 |
commit | bcb0f2f3e276545287d3e032ec684a144d5b941c (patch) | |
tree | 1dba2dac4d19724fa19569a2d6f3fc54c5fe4b32 /usr.bin/su/Makefile | |
parent | 05d9777e736db7b42c83178491117ee572c81d77 (diff) | |
download | FreeBSD-src-bcb0f2f3e276545287d3e032ec684a144d5b941c.zip FreeBSD-src-bcb0f2f3e276545287d3e032ec684a144d5b941c.tar.gz |
Deconvolute the authentication mess, and hand total responsiblity
for authentication to PAM. This meens that WHEELSU-type logic can
now be effected in the pam.conf "su" configuration stack. While here,
clean up the mess that the code had assumed over years of hacking by
folks using different styles. ANSIfy.
There is more policy in here that can be handed over to PAM. This will
be revisited.
Diffstat (limited to 'usr.bin/su/Makefile')
-rw-r--r-- | usr.bin/su/Makefile | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile index 6908e37..8a349da 100644 --- a/usr.bin/su/Makefile +++ b/usr.bin/su/Makefile @@ -2,25 +2,9 @@ # $FreeBSD$ PROG= su -SRCS= su.c -DPADD+= ${LIBUTIL} -LDADD+= -lutil - -.if !defined(NOPAM) -CFLAGS+= -DUSE_PAM -DPADD+= ${LIBPAM} -LDADD+= ${MINUSLPAM} -.else -COPTS+= -DSKEY -DPADD+= ${LIBSKEY} ${LIBMD} ${LIBCRYPT} -LDADD+= -lskey -lmd -lcrypt -.endif - -.if defined(WHEELSU) -COPTS+= -DWHEELSU -.endif -CFLAGS+= -Wall +DPADD+= ${LIBUTIL} ${LIBPAM} +LDADD+= -lutil ${MINUSLPAM} BINMODE=4555 INSTALLFLAGS=-fschg |