summaryrefslogtreecommitdiffstats
path: root/usr.bin
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 /usr.bin
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 'usr.bin')
-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
11 files changed, 12 insertions, 0 deletions
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
OpenPOWER on IntegriCloud