Hook audit into the OpenSSH build, this results in audit records being
submitted for successful/failed logins, as well as having OpenSSH set the audit context for a user when they login. Reviewed by: rwatson Obtained from: TrustedBSD Project
This commit is contained in:
parent
a38668a772
commit
891a7241d0
@ -23,6 +23,12 @@ CFLAGS+=-I${SSHDIR} -include ssh_namespace.h
|
||||
DPADD= ${LIBSSH} ${LIBUTIL} ${LIBZ} ${LIBWRAP} ${LIBPAM}
|
||||
LDADD= -lssh -lutil -lz -lwrap ${MINUSLPAM}
|
||||
|
||||
.if !defined(NO_AUDIT)
|
||||
CFLAGS+= -DUSE_BSM_AUDIT
|
||||
DPADD+= ${LIBBSM}
|
||||
LDADD+= -lbsm
|
||||
.endif
|
||||
|
||||
.if !defined(NO_KERBEROS)
|
||||
CFLAGS+= -DGSSAPI -DHAVE_GSSAPI_H=1 -DKRB5 -DHEIMDAL
|
||||
DPADD+= ${LIBGSSAPI} ${LIBKRB5} ${LIBASN1} ${LIBCOM_ERR} ${LIBROKEN}
|
||||
|
Loading…
Reference in New Issue
Block a user