Re: Perms for crontab file

From: Anne (apembert_at_hq.nasa.gov)
Date: 08/29/03


Date: 29 Aug 2003 05:35:12 -0700

After adding user names to /etc/cron.d/cron.allow, they were able to
use both
crontab -l and crontab -e. This is under Solaris 2.8
Yes, it's always good to refer to the manual, especially like me if
your having an older moment.
Cheers to all!
amp

"Liam Cunningham" <liam@consumercontact.com> wrote in message news:<pan.2003.08.28.18.53.40.424714@consumercontact.com>...
> On Thu, 28 Aug 2003 06:59:36 +0000, Anne wrote:
>
> > Hello,
> > I'd like for other people to list crontab and submit cron jobs. How do
> > I give them access/perms to do this.
> > When one of the users makes this attempt:
> >
> > i tried to list and edit crontab as user thisuser
> > i get the following error
> >
> > can't open your crontab file.
> >
> > What can I do to make this work; I'm a crontab novice.
> >
> > Thanks for any help.
> > AMP
> There are two files you need to look at. On older SVR4 systems, they will
> be /etc/cron.allow and /etc/cron.deny
> On newer systems, you will find them as /etc/cron.d/cron.allow and
> /etc/cron.d/cron.deny
> Most default installations will create both as empty files. This results
> in no one being able to submit jobs to cron. Depending on security
> requirements, you will want to delete or rename one of these files and
> edit the other, or edit both as required.
> In general, if cron.allow exists and a user's login name is in the file,
> then they will be able to submit a job to cron. If cron.deny exists and a
> user's login id in the file, they will not be allowed to submit a job.
> Careful reading of the man pages for crontab should make this clear.



Relevant Pages

  • Re: Mommy, tell cron to stop sending me mail!
    ... I put on top of the root crontab ... If MAILTO is defined, ... This applies to whatever the cron jobs just print on stdout/stderr ...
    (comp.unix.bsd.freebsd.misc)
  • Re: kcron doesnt work. any idea why?
    ... > Actually, crontab shows this, in case it's of any use: ... > 'run now' in kcron on any of the jobs starts it going. ... Running X clients from cron does ...
    (comp.os.linux.misc)
  • Re: centralized cron
    ... >>hundreds of servers, each with their own cron jobs set up, and would ... Using ssh to run crontab ... You're talking about a "job scheduling" software package. ...
    (comp.unix.admin)
  • Re: centralized cron
    ... >>hundreds of servers, each with their own cron jobs set up, and would ... Using ssh to run crontab ... You're talking about a "job scheduling" software package. ...
    (comp.unix.questions)
  • Re: Perms for crontab file
    ... > I'd like for other people to list crontab and submit cron jobs. ...
    (comp.unix.admin)