summaryrefslogtreecommitdiffstats
path: root/usr.sbin/nologin/Makefile
blob: d743f60c6a7c8f77f15d341492b1d2f5eb6a0e93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#	@(#)Makefile	8.2 (Berkeley) 4/22/94
# $FreeBSD$

PROG=	nologin
MAN=	nologin.5 nologin.8

SYMLINKS=	..${BINDIR}/nologin /sbin/nologin

# It is important that nologin be statically linked for security
# reasons.  A dynamic non-setuid binary can be linked against a trojan
# libc by setting LD_LIBRARY_PATH appropriately.  Both sshd(8) and
# login(1) make it possible to log in with an unsanitized environment,
# rendering a dynamic nologin binary virtually useless.
NO_SHARED=	YES

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud