freebsd-nq/usr.sbin/nologin/Makefile
Colin Percival 432b2d9531 When nologin(8) is installed in /usr/sbin/, create a symlink from
/sbin/nologin for compatibility purposes.  Also, remove the NO_NOLOGIN_LOG
option; we don't need to worry about conserving space as much on the /usr
partition.

Note that usr.sbin/nologin is not yet hooked up to the build.
2004-03-13 04:39:45 +00:00

17 lines
502 B
Makefile

# @(#)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.
NOSHARED= YES
.include <bsd.prog.mk>