diff options
author | andreas <andreas@FreeBSD.org> | 2000-12-01 20:42:49 +0000 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2000-12-01 20:42:49 +0000 |
commit | 3b037fc8c5c06f0390871302c47b254c4e35bf53 (patch) | |
tree | c7594e4524b142a9334f0aa615e4b1729f0742d5 /net/tac_plus4/Makefile | |
parent | 05fefc48d564d02b245658a02d0d783ab50d3cf8 (diff) | |
download | FreeBSD-ports-3b037fc8c5c06f0390871302c47b254c4e35bf53.zip FreeBSD-ports-3b037fc8c5c06f0390871302c47b254c4e35bf53.tar.gz |
From Sergey:
"The tac_plus user guide says that when passwd(5) file is used for user
authentication, the expiry date checks against shell field of password file.
Maybe it is OK for custom passwd files, but not for system password file.
Here is a little patch below which allow the tacacs daemon check
the expiration dates against 'expire' field of FreeBSD's master.passwd file.
It is very useful for me, and may be useful for other FreeBSD&tacacs users."
Submitted by: Sergey Levov <serg@informika.ru>
Diffstat (limited to 'net/tac_plus4/Makefile')
-rw-r--r-- | net/tac_plus4/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/tac_plus4/Makefile b/net/tac_plus4/Makefile index beee972..fd6c58e 100644 --- a/net/tac_plus4/Makefile +++ b/net/tac_plus4/Makefile @@ -23,6 +23,11 @@ MAN1= tac_plus.1 EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ba .endif +# check expiration dates against 'expire' field of master.passwd file +.if defined(TAC_EXPIRE_MASTER_PASSWD) && ${TAC_EXPIRE_MASTER_PASSWD} == YES +EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-bb +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1 |