11558Srgrimes# @(#)Makefile 8.2 (Berkeley) 4/22/94 274815Sru# $FreeBSD: releng/10.3/usr.sbin/nologin/Makefile 139112 2004-12-21 09:59:45Z ru $ 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