11558Srgrimes#	@(#)Makefile	8.2 (Berkeley) 4/22/94
274815Sru# $FreeBSD$
31558Srgrimes
4122842SdasPROG=	nologin
574815SruMAN=	nologin.5 nologin.8
61558Srgrimes
7126903ScpercivaSYMLINKS=	${BINDIR}/nologin /sbin/nologin
8126903Scperciva
9122842Sdas# It is important that nologin be statically linked for security
10122842Sdas# reasons.  A dynamic non-setuid binary can be linked against a trojan
11122842Sdas# libc by setting LD_LIBRARY_PATH appropriately.  Both sshd(8) and
12122842Sdas# login(1) make it possible to log in with an unsanitized environment,
13122842Sdas# rendering a dynamic nologin binary virtually useless.
14139112SruNO_SHARED=	YES
15122842Sdas
161558Srgrimes.include <bsd.prog.mk>
17