diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2017-06-07 23:36:44 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2017-06-07 23:36:44 +0000 |
commit | f8076ba546c15ba2eff7fbecbe15add8b125eb45 (patch) | |
tree | e79c3e466bc0787f7595cb687411bb8fbd3a51a0 /usr.sbin/cron/globals.h | |
parent | 55123c6c95e98a1d994707037d9eac0b14c2ad7d (diff) |
In cron(8), require that crontab and at files in the spool be owned
by group crontab. The at(1) command now creates files owned by
group crontab, the crontab(1) command already does this.
Files in the crontab spool with parse errors are now ignored;
crontab(1) will not install a crontab file with parse errors.
The system crontab file (/etc/crontab) is not affected by this.
The required permissions on crontab files have been tightened.
Files in the cron spool must be mode 0600 (as created by crontab(1)).
The system crontab file may be readable/writable by the owner,
readable by group and readable by other. The system crontab must
be readable by the owner.
Diffstat (limited to 'usr.sbin/cron/globals.h')
-rw-r--r-- | usr.sbin/cron/globals.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/cron/globals.h b/usr.sbin/cron/globals.h index 342f8e217ac..811ec7b5562 100644 --- a/usr.sbin/cron/globals.h +++ b/usr.sbin/cron/globals.h @@ -1,4 +1,4 @@ -/* $OpenBSD: globals.h,v 1.13 2015/11/06 23:47:42 millert Exp $ */ +/* $OpenBSD: globals.h,v 1.14 2017/06/07 23:36:43 millert Exp $ */ /* * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") @@ -17,5 +17,6 @@ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +extern gid_t cron_gid; extern int LineNumber; extern char *__progname; |