[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: crontab syntax



On Sun, Aug 06, 2000 at 01:37:56PM -0500, Steven Pritchard wrote:
> Danny Sauer said:
> > While you're checking stuff, make sure the user isn't listed in /var/cron/deny
> > or wherever that is on your system...
> 
> Good point.  Some systems (I'm thinking about HP-UX here) require that
> a user be added to the "allow" file (I think it was
> /var/spool/cron/cron.allow or something) before they could set cron
> jobs.  (I doubt that's the problem here, but it's still worth
> mentioning...)

Quoting from man crontab(1):

       If the allow file exists, then you must be listed  therein
       in  order to be allowed to use this command.  If the allow
       file does not exist but the deny file does exist, then you
       must  not  be listed in the deny file in order to use this
       command.  If neither of these files exists, then depending
       on site-dependent configuration parameters, only the super
       user will be allowed to use this  command,  or  all  users
       will be able to use this command.

I seem to recall something about cron running cron jobs based on a
similar criteria...

--Danny
-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.