Re: Perms for crontab file

From: Barry Margolin (barry.margolin_at_level3.com)
Date: 08/28/03


Date: Thu, 28 Aug 2003 15:36:50 GMT

In article <73fa94c2.0308280559.373768c1@posting.google.com>,
Anne <apembert@hq.nasa.gov> 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.

That's normal if you use "crontab -l" when you don't yet have any cron
jobs.

Do you also get it when you try to edit the crontab with "crontab -e"?
What if you just create a file of your cron jobs and use "crontab filename"
to submit it.

>What can I do to make this work; I'm a crontab novice.

No special permissions are normally needed for this. The "crontab" command
is supposed to be setuid so that it can edit the crontab file.

-- 
Barry Margolin, barry.margolin@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.


Relevant Pages

  • Re: Cron on Tiger?
    ... > longer used for system cron jobs ... ... Standard tutorials on UNIX will describe this, if not 'man crontab' will help. ... sudo crontab crontab.cron ...
    (comp.sys.mac.system)
  • Re: cron job
    ... Regarding cron jobs, there are two approaces. ... user's crontab, or into systemwide crontabs. ... I need to move big files from one remote server to other remote ...
    (Ubuntu)
  • Re: Cron jobs
    ... crontab file using the crontab -e or crontab. ... cron jobs common to all users, how do i setup a cron job before the ... can i setup the jobs in the init.d file. ...
    (comp.os.linux.misc)
  • Cron and Root
    ... I am trying to learn the ins-and-outs of daily, weekly, etc cron jobs on ... When I su in as root, and type "crontab -e", I can define some ... variables for all the scripts run? ...
    (comp.os.linux.misc)
  • Re: oracle script
    ... The shell is invoked from your $HOME directory with an arg0 ... explicitly do so in the crontab file. ... cron jobs is /usr/bin; while root cron jobs default to ...
    (comp.unix.solaris)