Re: Perms for crontab file
From: Anne (apembert_at_hq.nasa.gov)
Date: 08/29/03
- Next message: Liam Cunningham: "Re: System model no."
- Previous message: T: "System model no."
- In reply to: Liam Cunningham: "Re: Perms for crontab file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Next message: Liam Cunningham: "Re: System model no."
- Previous message: T: "System model no."
- In reply to: Liam Cunningham: "Re: Perms for crontab file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|