summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-09-13 06:48:18 +0000
committerru <ru@FreeBSD.org>2001-09-13 06:48:18 +0000
commitbc205d4152b4848268ee74e8531bdebcfa025808 (patch)
tree803f734f43871d3306b26ad1076e0452dd8cbc56
parent0b95b15b7ab73fcc49a58f3404fba27a847b2617 (diff)
downloadFreeBSD-src-bc205d4152b4848268ee74e8531bdebcfa025808.zip
FreeBSD-src-bc205d4152b4848268ee74e8531bdebcfa025808.tar.gz
Set BINOWN=root explicitly for setuid root binaries.
This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
-rw-r--r--sbin/ping/Makefile1
-rw-r--r--sbin/ping6/Makefile1
-rw-r--r--sbin/shutdown/Makefile1
-rw-r--r--usr.bin/at/Makefile1
-rw-r--r--usr.bin/chpass/Makefile1
-rw-r--r--usr.bin/lock/Makefile1
-rw-r--r--usr.bin/login/Makefile1
-rw-r--r--usr.bin/opieinfo/Makefile1
-rw-r--r--usr.bin/opiepasswd/Makefile1
-rw-r--r--usr.bin/passwd/Makefile1
-rw-r--r--usr.bin/quota/Makefile2
-rw-r--r--usr.bin/rlogin/Makefile1
-rw-r--r--usr.bin/rsh/Makefile1
-rw-r--r--usr.bin/su/Makefile1
-rw-r--r--usr.sbin/lpr/lpq/Makefile1
-rw-r--r--usr.sbin/lpr/lpr/Makefile1
-rw-r--r--usr.sbin/lpr/lprm/Makefile1
-rw-r--r--usr.sbin/mrouted/mrinfo/Makefile1
-rw-r--r--usr.sbin/mrouted/mtrace/Makefile1
-rw-r--r--usr.sbin/sliplogin/Makefile1
-rw-r--r--usr.sbin/timed/timedc/Makefile1
-rw-r--r--usr.sbin/traceroute/Makefile1
22 files changed, 23 insertions, 0 deletions
diff --git a/sbin/ping/Makefile b/sbin/ping/Makefile
index 45ca449..a557b37 100644
--- a/sbin/ping/Makefile
+++ b/sbin/ping/Makefile
@@ -3,6 +3,7 @@
PROG= ping
MAN= ping.8
+BINOWN= root
BINMODE=4555
CFLAGS+=-Wall -Wmissing-prototypes
.if ${MACHINE_ARCH} == "alpha"
diff --git a/sbin/ping6/Makefile b/sbin/ping6/Makefile
index cd727f6..ddc9962 100644
--- a/sbin/ping6/Makefile
+++ b/sbin/ping6/Makefile
@@ -5,6 +5,7 @@ MAN= ping6.8
CFLAGS+=-DINET6 -DIPSEC
+BINOWN= root
BINMODE=4555
LDADD= -lipsec -lmd
diff --git a/sbin/shutdown/Makefile b/sbin/shutdown/Makefile
index 0a8f848..0d6434a 100644
--- a/sbin/shutdown/Makefile
+++ b/sbin/shutdown/Makefile
@@ -4,6 +4,7 @@
PROG= shutdown
WARNS?= 2
MAN= shutdown.8
+BINOWN= root
BINGRP= operator
BINMODE=4550
diff --git a/usr.bin/at/Makefile b/usr.bin/at/Makefile
index 0f31ee0..f69aee3 100644
--- a/usr.bin/at/Makefile
+++ b/usr.bin/at/Makefile
@@ -12,6 +12,7 @@ MLINKS= at.1 batch.1 \
at.1 atq.1 \
at.1 atrm.1
+BINOWN= root
BINMODE= 4555
CLEANFILES+= at.1
diff --git a/usr.bin/chpass/Makefile b/usr.bin/chpass/Makefile
index 3930873..69b93c0 100644
--- a/usr.bin/chpass/Makefile
+++ b/usr.bin/chpass/Makefile
@@ -7,6 +7,7 @@ SRCS= chpass.c edit.c field.c pw_copy.c pw_scan.c pw_util.c pw_yp.c \
table.c util.c ypxfr_misc.c ${GENSRCS}
GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c yppasswd_private.h \
yppasswd_private_clnt.c yppasswd_private_xdr.c
+BINOWN= root
BINMODE=4555
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../../libexec/ypxfr \
diff --git a/usr.bin/lock/Makefile b/usr.bin/lock/Makefile
index 84c8fd1..dc09a87 100644
--- a/usr.bin/lock/Makefile
+++ b/usr.bin/lock/Makefile
@@ -2,6 +2,7 @@
# $FreeBSD$
PROG= lock
+BINOWN= root
BINMODE=4555
DPADD= ${LIBCRYPT}
LDADD= -lcrypt
diff --git a/usr.bin/login/Makefile b/usr.bin/login/Makefile
index 9ed8603..6769090 100644
--- a/usr.bin/login/Makefile
+++ b/usr.bin/login/Makefile
@@ -10,6 +10,7 @@ CFLAGS+=-DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt ${MINUSLPAM}
+BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes
diff --git a/usr.bin/opieinfo/Makefile b/usr.bin/opieinfo/Makefile
index 2ee633d..e9944e1 100644
--- a/usr.bin/opieinfo/Makefile
+++ b/usr.bin/opieinfo/Makefile
@@ -10,6 +10,7 @@ CFLAGS+=-DINSECURE_OVERRIDE
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
+BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
diff --git a/usr.bin/opiepasswd/Makefile b/usr.bin/opiepasswd/Makefile
index 00021f6..169fd72 100644
--- a/usr.bin/opiepasswd/Makefile
+++ b/usr.bin/opiepasswd/Makefile
@@ -10,6 +10,7 @@ CFLAGS+=-DINSECURE_OVERRIDE
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
+BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile
index 65c5dcf..67022c3 100644
--- a/usr.bin/passwd/Makefile
+++ b/usr.bin/passwd/Makefile
@@ -74,6 +74,7 @@ yppasswd_private_xdr.c: ${RPCSRC_PRIV}
yppasswd_private_clnt.c: ${RPCSRC_PRIV}
${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV}
+BINOWN= root
BINMODE=4555
LINKS=${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS=passwd.1 yppasswd.1
diff --git a/usr.bin/quota/Makefile b/usr.bin/quota/Makefile
index f9093b3..4d41fae 100644
--- a/usr.bin/quota/Makefile
+++ b/usr.bin/quota/Makefile
@@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+# $FreeBSD$
PROG= quota
+BINOWN= root
BINMODE=4555
DPADD= ${LIBRPCSVC}
diff --git a/usr.bin/rlogin/Makefile b/usr.bin/rlogin/Makefile
index 9e61a6e..c8573f6 100644
--- a/usr.bin/rlogin/Makefile
+++ b/usr.bin/rlogin/Makefile
@@ -6,6 +6,7 @@ SRCS= rlogin.c
CFLAGS+=-Wall
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
+BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
diff --git a/usr.bin/rsh/Makefile b/usr.bin/rsh/Makefile
index 0cdb007..404c9a6 100644
--- a/usr.bin/rsh/Makefile
+++ b/usr.bin/rsh/Makefile
@@ -20,6 +20,7 @@ DISTRIBUTION= krb4
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
+BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index 7d20843..fff40f2 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -8,6 +8,7 @@ LDADD+= -lutil ${MINUSLPAM}
WARNS?= 2
+BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg
diff --git a/usr.sbin/lpr/lpq/Makefile b/usr.sbin/lpr/lpq/Makefile
index 2b795d9..e4a5eff 100644
--- a/usr.sbin/lpr/lpq/Makefile
+++ b/usr.sbin/lpr/lpq/Makefile
@@ -4,6 +4,7 @@
BINDIR= /usr/bin
PROG= lpq
+BINOWN= root
BINGRP= daemon
BINMODE= 6555
diff --git a/usr.sbin/lpr/lpr/Makefile b/usr.sbin/lpr/lpr/Makefile
index e952f60..0e11b49 100644
--- a/usr.sbin/lpr/lpr/Makefile
+++ b/usr.sbin/lpr/lpr/Makefile
@@ -7,6 +7,7 @@ BINDIR= /usr/bin
PROG= lpr
MAN= lpr.1 printcap.5
+BINOWN= root
BINGRP= daemon
BINMODE= 6555
diff --git a/usr.sbin/lpr/lprm/Makefile b/usr.sbin/lpr/lprm/Makefile
index cc9d075..df7241f 100644
--- a/usr.sbin/lpr/lprm/Makefile
+++ b/usr.sbin/lpr/lprm/Makefile
@@ -6,6 +6,7 @@
BINDIR= /usr/bin
PROG= lprm
+BINOWN= root
BINGRP= daemon
BINMODE= 6555
diff --git a/usr.sbin/mrouted/mrinfo/Makefile b/usr.sbin/mrouted/mrinfo/Makefile
index feae4ce..f111aa9 100644
--- a/usr.sbin/mrouted/mrinfo/Makefile
+++ b/usr.sbin/mrouted/mrinfo/Makefile
@@ -5,6 +5,7 @@ S= ${.CURDIR}/..
PROG= mrinfo
MAN= mrinfo.8
+BINOWN= root
BINMODE= 4555
CFLAGS+= -I$S
diff --git a/usr.sbin/mrouted/mtrace/Makefile b/usr.sbin/mrouted/mtrace/Makefile
index 125493e..ee9adb7 100644
--- a/usr.sbin/mrouted/mtrace/Makefile
+++ b/usr.sbin/mrouted/mtrace/Makefile
@@ -5,6 +5,7 @@ S= ${.CURDIR}/..
PROG= mtrace
MAN= mtrace.8
+BINOWN= root
BINMODE= 4555
CFLAGS+= -I$S
diff --git a/usr.sbin/sliplogin/Makefile b/usr.sbin/sliplogin/Makefile
index 3136dbb..860b9b0 100644
--- a/usr.sbin/sliplogin/Makefile
+++ b/usr.sbin/sliplogin/Makefile
@@ -3,6 +3,7 @@
PROG= sliplogin
MAN= sliplogin.8
+BINOWN= root
BINGRP= network
BINMODE=4550
INSTALLFLAGS=-fschg
diff --git a/usr.sbin/timed/timedc/Makefile b/usr.sbin/timed/timedc/Makefile
index 6963a57..5262f46 100644
--- a/usr.sbin/timed/timedc/Makefile
+++ b/usr.sbin/timed/timedc/Makefile
@@ -6,6 +6,7 @@
PROG= timedc
MAN= timedc.8
SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c
+BINOWN= root
BINMODE= 4555
.include "../../Makefile.inc"
diff --git a/usr.sbin/traceroute/Makefile b/usr.sbin/traceroute/Makefile
index 6e22227..bdd65b4 100644
--- a/usr.sbin/traceroute/Makefile
+++ b/usr.sbin/traceroute/Makefile
@@ -6,6 +6,7 @@ TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
PROG= traceroute
MAN= traceroute.8
SRCS= version.c traceroute.c
+BINOWN= root
BINMODE=4555
CLEANFILES= version.c
OpenPOWER on IntegriCloud