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
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
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
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
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.
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