summaryrefslogtreecommitdiffstats
path: root/sbin
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 /sbin
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.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ping/Makefile1
-rw-r--r--sbin/ping6/Makefile1
-rw-r--r--sbin/shutdown/Makefile1
3 files changed, 3 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
OpenPOWER on IntegriCloud