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 PROG= ping
MAN= ping.8 MAN= ping.8
BINOWN= root
BINMODE=4555 BINMODE=4555
CFLAGS+=-Wall -Wmissing-prototypes CFLAGS+=-Wall -Wmissing-prototypes
.if ${MACHINE_ARCH} == "alpha" .if ${MACHINE_ARCH} == "alpha"

View File

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

View File

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

View File

@ -12,6 +12,7 @@ MLINKS= at.1 batch.1 \
at.1 atq.1 \ at.1 atq.1 \
at.1 atrm.1 at.1 atrm.1
BINOWN= root
BINMODE= 4555 BINMODE= 4555
CLEANFILES+= at.1 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} table.c util.c ypxfr_misc.c ${GENSRCS}
GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c yppasswd_private.h \ GENSRCS=yp.h yp_clnt.c yppasswd.h yppasswd_clnt.c yppasswd_private.h \
yppasswd_private_clnt.c yppasswd_private_xdr.c yppasswd_private_clnt.c yppasswd_private_xdr.c
BINOWN= root
BINMODE=4555 BINMODE=4555
.PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \ .PATH: ${.CURDIR}/../../usr.sbin/pwd_mkdb ${.CURDIR}/../../usr.sbin/vipw \
${.CURDIR}/../../libexec/ypxfr \ ${.CURDIR}/../../libexec/ypxfr \

View File

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

View File

@ -10,6 +10,7 @@ CFLAGS+=-DLOGIN_ACCESS -DLOGALL
DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM} DPADD= ${LIBUTIL} ${LIBCRYPT} ${LIBPAM}
LDADD= -lutil -lcrypt ${MINUSLPAM} LDADD= -lutil -lcrypt ${MINUSLPAM}
BINOWN= root
BINMODE=4555 BINMODE=4555
INSTALLFLAGS=-fschg INSTALLFLAGS=-fschg
NEED_LIBNAMES= yes NEED_LIBNAMES= yes

View File

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

View File

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

View File

@ -74,6 +74,7 @@ yppasswd_private_xdr.c: ${RPCSRC_PRIV}
yppasswd_private_clnt.c: ${RPCSRC_PRIV} yppasswd_private_clnt.c: ${RPCSRC_PRIV}
${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV} ${RPCGEN} -l -o ${.TARGET} ${RPCSRC_PRIV}
BINOWN= root
BINMODE=4555 BINMODE=4555
LINKS=${BINDIR}/passwd ${BINDIR}/yppasswd LINKS=${BINDIR}/passwd ${BINDIR}/yppasswd
MLINKS=passwd.1 yppasswd.1 MLINKS=passwd.1 yppasswd.1

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -6,6 +6,7 @@
PROG= timedc PROG= timedc
MAN= timedc.8 MAN= timedc.8
SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c SRCS= cmds.c cmdtab.c timedc.c byteorder.c measure.c cksum.c
BINOWN= root
BINMODE= 4555 BINMODE= 4555
.include "../../Makefile.inc" .include "../../Makefile.inc"

View File

@ -6,6 +6,7 @@ TRACEROUTE_DISTDIR?= ${.CURDIR}/../../contrib/traceroute
PROG= traceroute PROG= traceroute
MAN= traceroute.8 MAN= traceroute.8
SRCS= version.c traceroute.c SRCS= version.c traceroute.c
BINOWN= root
BINMODE=4555 BINMODE=4555
CLEANFILES= version.c CLEANFILES= version.c