summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2004-02-27 17:50:59 +0000
committerdes <des@FreeBSD.org>2004-02-27 17:50:59 +0000
commitb7f41a28068874730a2eefcf18859978cbae88c4 (patch)
tree475b2dcad1b8e7b4accecd4d97b4d7c4d1448753 /usr.bin
parent65491e7b354139ea6f344fadb5b53cfb1ea28358 (diff)
downloadFreeBSD-src-b7f41a28068874730a2eefcf18859978cbae88c4.zip
FreeBSD-src-b7f41a28068874730a2eefcf18859978cbae88c4.tar.gz
Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined.
Diffstat (limited to 'usr.bin')
-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