summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/funcs.h
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2003-02-20 19:12:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2003-02-20 19:12:17 +0000
commitc3f1354768fb5072b1fba813214b323d1012f0d2 (patch)
tree745b830897ba7c2111fd9c8dd1a495cce876a99f /usr.sbin/cron/funcs.h
parente47b6ab851f6e6441127e868ccce245e5c8da609 (diff)
If there is no cron.allow or cron.deny file, only the superuser may run
the crontab command; for POSIX compliance. Create an empty cron.deny file to allow any user to run crontab: install -c -o root -g crontab -m 660 /dev/null /var/cron/cron.deny
Diffstat (limited to 'usr.sbin/cron/funcs.h')
-rw-r--r--usr.sbin/cron/funcs.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/funcs.h b/usr.sbin/cron/funcs.h
index 84a2bf67260..e7dc347d500 100644
--- a/usr.sbin/cron/funcs.h
+++ b/usr.sbin/cron/funcs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: funcs.h,v 1.8 2002/07/15 19:13:29 millert Exp $ */
+/* $OpenBSD: funcs.h,v 1.9 2003/02/20 19:12:16 millert Exp $ */
/*
* Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
@@ -51,7 +51,7 @@ int job_runqueue(void),
cron_pclose(FILE *),
glue_strings(char *, size_t, const char *, const char *, char),
strcmp_until(const char *, const char *, char),
- allowed(const char *),
+ allowed(const char *, const char *, const char *),
strdtb(char *),
open_socket(void),
safe_p(const char *, const char *),