summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron
diff options
context:
space:
mode:
authorsmace <smace@FreeBSD.org>1994-11-06 01:13:59 +0000
committersmace <smace@FreeBSD.org>1994-11-06 01:13:59 +0000
commitef18154140e28239eb92e58ebc14c1c72b06b801 (patch)
tree4dc1b5877cf3efaeb7d05224897f82b514f8ba7d /usr.sbin/cron
parent5cc6cf8e91c65065f8279eb86b119d026d1341c2 (diff)
downloadFreeBSD-src-ef18154140e28239eb92e58ebc14c1c72b06b801.zip
FreeBSD-src-ef18154140e28239eb92e58ebc14c1c72b06b801.tar.gz
Make /usr/bin/crontab install setuid root. (doesn't work otherwise)
The distributed makefile in the package installs it setuid root.. Reviewed by: jkh
Diffstat (limited to 'usr.sbin/cron')
-rw-r--r--usr.sbin/cron/crontab/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/cron/crontab/Makefile b/usr.sbin/cron/crontab/Makefile
index f8337b2..09b3d54 100644
--- a/usr.sbin/cron/crontab/Makefile
+++ b/usr.sbin/cron/crontab/Makefile
@@ -16,4 +16,8 @@ DPADD+= ${.CURDIR}/../lib/libcron.a
LDADD+= -lcron
+BINOWN= root
+BINMODE=4555
+INSTALLFLAGS=-fschg
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud