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.
This commit is contained in:
Ruslan Ermilov 2001-09-13 06:48:18 +00:00
parent 9b8a07ff32
commit cda2a9b2f0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=83391
22 changed files with 23 additions and 0 deletions

View File

@ -3,6 +3,7 @@
PROG= ping
MAN= ping.8
BINOWN= root
BINMODE=4555
CFLAGS+=-Wall -Wmissing-prototypes
.if ${MACHINE_ARCH} == "alpha"

View File

@ -5,6 +5,7 @@ MAN= ping6.8
CFLAGS+=-DINET6 -DIPSEC
BINOWN= root
BINMODE=4555
LDADD= -lipsec -lmd

View File

@ -4,6 +4,7 @@
PROG= shutdown
WARNS?= 2
MAN= shutdown.8
BINOWN= root
BINGRP= operator
BINMODE=4550

View File

@ -12,6 +12,7 @@ MLINKS= at.1 batch.1 \
at.1 atq.1 \
at.1 atrm.1
BINOWN= root
BINMODE= 4555
CLEANFILES+= at.1

View File

@ -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 \

View File

@ -2,6 +2,7 @@
# $FreeBSD$
PROG= lock
BINOWN= root
BINMODE=4555
DPADD= ${LIBCRYPT}
LDADD= -lcrypt

View File

@ -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

View File

@ -10,6 +10,7 @@ CFLAGS+=-DINSECURE_OVERRIDE
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg

View File

@ -10,6 +10,7 @@ CFLAGS+=-DINSECURE_OVERRIDE
DPADD= ${LIBOPIE} ${LIBMD}
LDADD= -lopie -lmd
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg

View File

@ -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

View File

@ -1,6 +1,8 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
PROG= quota
BINOWN= root
BINMODE=4555
DPADD= ${LIBRPCSVC}

View File

@ -6,6 +6,7 @@ SRCS= rlogin.c
CFLAGS+=-Wall
CFLAGS+=-I${.CURDIR}/../../libexec/rlogind
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg

View File

@ -20,6 +20,7 @@ DISTRIBUTION= krb4
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg

View File

@ -8,6 +8,7 @@ LDADD+= -lutil ${MINUSLPAM}
WARNS?= 2
BINOWN= root
BINMODE=4555
INSTALLFLAGS=-fschg

View File

@ -4,6 +4,7 @@
BINDIR= /usr/bin
PROG= lpq
BINOWN= root
BINGRP= daemon
BINMODE= 6555

View File

@ -7,6 +7,7 @@ BINDIR= /usr/bin
PROG= lpr
MAN= lpr.1 printcap.5
BINOWN= root
BINGRP= daemon
BINMODE= 6555

View File

@ -6,6 +6,7 @@
BINDIR= /usr/bin
PROG= lprm
BINOWN= root
BINGRP= daemon
BINMODE= 6555

View File

@ -5,6 +5,7 @@ S= ${.CURDIR}/..
PROG= mrinfo
MAN= mrinfo.8
BINOWN= root
BINMODE= 4555
CFLAGS+= -I$S

View File

@ -5,6 +5,7 @@ S= ${.CURDIR}/..
PROG= mtrace
MAN= mtrace.8
BINOWN= root
BINMODE= 4555
CFLAGS+= -I$S

View File

@ -3,6 +3,7 @@
PROG= sliplogin
MAN= sliplogin.8
BINOWN= root
BINGRP= network
BINMODE=4550
INSTALLFLAGS=-fschg

View File

@ -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"

View File

@ -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