diff options
author | csjp <csjp@FreeBSD.org> | 2006-09-01 13:39:02 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2006-09-01 13:39:02 +0000 |
commit | 5c107d0b0f16ceb34133bd147f76cf9b5ff2aee7 (patch) | |
tree | c95ab3f3a6caf79ebf4ebf2e58216e5f9e665935 /usr.bin/su/Makefile | |
parent | c62317c442340f5e4627b6020679dc03d49a3918 (diff) | |
download | FreeBSD-src-5c107d0b0f16ceb34133bd147f76cf9b5ff2aee7.zip FreeBSD-src-5c107d0b0f16ceb34133bd147f76cf9b5ff2aee7.tar.gz |
Integrate audit_submit(3) bits into su. This means that records for
successful and failed su attempts will be recorded using the AUE_su
event type (login or lo class) if auditing is present in the system.
Currently, the records will have a header, subject, text (with the
actual diagnostics), a return and trailer token.
See audit_submit(3) for more information.
Reviewed by: rwatson
Obtained from: TrustedBSD Project
Diffstat (limited to 'usr.bin/su/Makefile')
-rw-r--r-- | usr.bin/su/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile index 109b551..25216cf 100644 --- a/usr.bin/su/Makefile +++ b/usr.bin/su/Makefile @@ -1,11 +1,19 @@ # @(#)Makefile 8.1 (Berkeley) 7/19/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= su DPADD= ${LIBUTIL} ${LIBPAM} LDADD= -lutil ${MINUSLPAM} +.if ${MK_AUDIT} != "no" +CFLAGS+= -DUSE_BSM_AUDIT +DPADD+= ${LIBBSM} +LDADD+= -lbsm +.endif + BINOWN= root BINMODE=4555 PRECIOUSPROG= |