Re: running cron jobs setpriority permission denied
- In reply to: Chris : "Re: running cron jobs setpriority permission denied"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Mar 2022 06:02:26 UTC
Hi, If you saw also logins to jail (jesec /bin/csh) has logged similar errors. # ll /etc/cron.d/ total 8 -rw-r--r-- 1 root wheel 203 Dec 2 07:45 at -rw------- 1 root wheel 318 Mar 8 23:40 directadmin_cron The job is inside a file in /etc/cron.d I tried to put it directly in /etc/crtontab give same error log Sami בתאריך יום ד׳, 9 במרץ 2022, 03:19, מאת Chris <bsd-lists@bsdforge.com>: > On 2022-03-08 13:00, Sami Halabi wrote: > > Hi, > > > > I have a jail ran by cbsd which has a cronjob like this: > > * * * * * root /usr/local/directadmin/dataskq > > > > I see every minute this error logged in /var/log/messages: > > cron[71002]: setpriority 'root' (daemon): Permission denied > > Did root set up the cron(8) job? > Is the script/task owned by root? > > > > I see in ps xau that it runs but at nobody user > > > > even when loggin to the jail I have: > > cron[68825]: setpriority 'root' (daemon): Permission denied > > login[68900]: setpriority 'root' (root): Permission denied > > jexec[69404]: setpriority 'root' (root): Permission denied > > > > # uname -a > > FreeBSD j5.sody.com 12.3-RELEASE-p1 FreeBSD 12.3-RELEASE-p1 GENERIC > amd64 > > > > what am I missing? > > > > Sami >