1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00
freebsd/usr.sbin/cron/crontab
David Malone 25e9ca2b19 Attempt to fix problem with users being able to convince the crontab
program to read any file which is a valid crontab file.

The fix is based on that used in NetBSD and OpenBSD - we keep the
file open while the user is editing it. This means that files must
be edited in place. Cron attempts to warn you if your editor does
not do this. The fact that the file must be edited in place is also
noted in the man page.

This patch has been confirmed to work by atleast one person on
-security and has been tested locally.

Obtained from:	OpenBSD
2000-11-06 11:17:37 +00:00
..
crontab.1 Attempt to fix problem with users being able to convince the crontab 2000-11-06 11:17:37 +00:00
crontab.5 Revive rev 1.12 (NetBSD improvements including @ shortcuts). 2000-03-14 14:51:55 +00:00
crontab.c Attempt to fix problem with users being able to convince the crontab 2000-11-06 11:17:37 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00