summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/nologin/Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/usr.sbin/nologin/Makefile b/usr.sbin/nologin/Makefile
index c98b44b..48efba2 100644
--- a/usr.sbin/nologin/Makefile
+++ b/usr.sbin/nologin/Makefile
@@ -4,6 +4,8 @@
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
@@ -11,11 +13,4 @@ MAN= nologin.5 nologin.8
# rendering a dynamic nologin binary virtually useless.
NOSHARED= YES
-# Logging to syslog increases the size of the statically linked
-# binary by over 100K. Provide an option for disabling this on
-# systems where conserving space on the root device is critical.
-.ifdef NO_NOLOGIN_LOG
-CFLAGS+= -DNO_NOLOGIN_LOG
-.endif
-
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud