freebsd-nq/usr.sbin/cron
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
..
cron Call login_close() to prevent parent from memory leaking in some 2000-07-02 04:15:15 +00:00
crontab Attempt to fix problem with users being able to convince the crontab 2000-11-06 11:17:37 +00:00
doc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00
lib Catch and report memory allocation failures. 2000-05-23 13:44:00 +00:00
Makefile
Makefile.inc $Id$ -> $FreeBSD$ 1999-08-28 01:35:59 +00:00