From 13ae56f84dff0cf75f62f1960cb58b73723f64b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Fri, 27 Feb 2004 17:50:59 +0000 Subject: [PATCH] Re-add the setuid bit, conditional on NO_SETUID_LOGIN being undefined. --- usr.bin/login/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile index a1cad7115c38..429dedb02d61 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