Stefan Farfeleder
93931378d9
Properly initialise the variable `deny'.
2005-02-09 13:02:43 +00:00
Tim J. Robbins
526b145c23
Never allow a user to use crontab if opening /var/cron/{allow,deny} fails
...
for any reason other than ENOENT (think resource limits). Close allow and
deny files before allowed() returns to stop the user's EDITOR being able to
read them.
Obtained from: OpenBSD (partially)
2002-08-04 04:32:27 +00:00
David Malone
879e98b647
Only remove the '\n' at the end of a line if there is one.
...
I missed this as part of the fix to the PR below.
PR: 31265
Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
MFC after: 1 week
2002-04-10 22:01:37 +00:00
Guy Helmer
5c7cba96bc
Catch and report memory allocation failures.
2000-05-23 13:44:00 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Daniel O'Callaghan
b9a1702cc2
y2k nit: print 4 digit years correctly.
...
PR: 9506
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
1999-01-16 01:51:03 +00:00
Philippe Charnier
401e64688b
Use err(3). Rewrote man page in mdoc format.
1997-09-15 06:39:25 +00:00
Peter Wemm
476602a9d0
Revert $FreeBSD$ to $Id$
1997-02-22 16:15:28 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Rodney W. Grimes
709e8f9ae1
Remove trailing whitespace.
1995-05-30 03:57:47 +00:00
Andrey A. Chernov
aa4f20e4df
Fix typo in HAVE_SAVED_UIDS define
1995-04-29 13:25:13 +00:00
Jordan K. Hubbard
84f33dea62
Paul Vixie's cron, version 3.0. Munged into bmake format. If this goes
...
well, expect our two seperate directories for cron and crontab to go away
shortly.
Submitted by: jkh
1994-08-27 13:43:04 +00:00