summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/login/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index a1cad71..429dedb 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -7,6 +7,11 @@ CFLAGS+=-DLOGALL
DPADD= ${LIBUTIL} ${LIBPAM}
LDADD= -lutil ${MINUSLPAM}
MAN= login.1 login.access.5
+.ifdef NO_SETUID_LOGIN
+BINOWN= root
+BINMODE=4555
+INSTALLFLAGS=-fschg
+.endif
NEED_LIBNAMES= yes
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud