Re: Running cron jobs as nobody

2008-10-07 Thread DAve
Mel wrote: On Thursday 02 October 2008 17:11:52 DAve wrote: Good morning all, We have a cronjob we need to run as nobody from /etc/crontab and it seems to be not working. The job runs, but not as user nobody. I noticed two things, 1) the job to update the locate DB runs as nobody, because

Re: Running cron jobs as nobody

2008-10-05 Thread Mel
On Thursday 02 October 2008 17:11:52 DAve wrote: Good morning all, We have a cronjob we need to run as nobody from /etc/crontab and it seems to be not working. The job runs, but not as user nobody. I noticed two things, 1) the job to update the locate DB runs as nobody, because the script

Re: Running cron jobs as nobody

2008-10-03 Thread Derek Ragona
At 10:11 AM 10/2/2008, DAve wrote: Good morning all, We have a cronjob we need to run as nobody from /etc/crontab and it seems to be not working. The job runs, but not as user nobody. I noticed two things, 1) the job to update the locate DB runs as nobody, because the script uses su to

Running cron jobs as nobody

2008-10-02 Thread DAve
Good morning all, We have a cronjob we need to run as nobody from /etc/crontab and it seems to be not working. The job runs, but not as user nobody. I noticed two things, 1) the job to update the locate DB runs as nobody, because the script uses su to become nobody. echo

Re: Running cron jobs as nobody

2008-10-02 Thread Bill Campbell
You can use ``su -c '/path/to/command' username'' to run scripts as users other than root. Another way is to use ``crontab -u username''. man crontab for details. Bill -- INTERNET: [EMAIL PROTECTED] Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E.

Re: Running cron jobs as nobody

2008-10-02 Thread DAve
Bill Campbell wrote: You can use ``su -c '/path/to/command' username'' to run scripts as users other than root. Another way is to use ``crontab -u username''. man crontab for details. Bill I am being told the developer tried a user crontab without success. I've not suggested they try su