Date: Tue, 8 Mar 2022 23:00:29 +0200 From: Sami Halabi <sodynet1@gmail.com> To: freebsd-stable@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>, freebsd-jail@freebsd.org, freebsd-net@freebsd.org, Oleg Ginzburg <olevole@olevole.ru> Subject: running cron jobs setpriority permission denied Message-ID: <CAEW%2BogYUaqXsMKynTsXnzEn7g2Yxkm5RYbhdSp9h=JhGYbGTPQ@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
--0000000000000add3605d9bb4698 Content-Type: text/plain; charset="UTF-8" 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 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 -- Sami Halabi Information Systems Engineer NMS Projects Expert, FreeBSD SysAdmin Expert Asterisk Expert --0000000000000add3605d9bb4698 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,<div><br></div><div>I have a jail ran by cbsd which has= a cronjob=C2=A0like this:</div><div>* * * * * root /usr/local/directadmin/= dataskq<br></div><div><br></div><div>I see every minute this error logged i= n /var/log/messages:</div><div>cron[71002]: setpriority 'root' (dae= mon): Permission denied<br></div><div><br></div><div>I see in ps xau that i= t runs but at nobody user</div><div><br></div><div>even when loggin=C2=A0to= the jail I have:</div><div>cron[68825]: setpriority 'root' (daemon= ): Permission denied<br></div><div>login[68900]: setpriority 'root'= (root): Permission denied<br></div><div>jexec[69404]: setpriority 'roo= t' (root): Permission denied<br></div><div><br></div><div># uname -a<br= >FreeBSD <a href=3D"http://j5.sody.com">j5.sody.com</a> 12.3-RELEASE-p1 Fre= eBSD 12.3-RELEASE-p1 GENERIC =C2=A0amd64<br></div><div><br></div><div>what = am I missing?</div><div><br></div><div>Sami<br clear=3D"all"><div><br></div= >-- <br><div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_= signature"><div dir=3D"ltr"><div><div dir=3D"ltr">Sami Halabi<div>Informati= on Systems Engineer</div><div>NMS Projects Expert,=C2=A0<span style=3D"font= -size:12.8px">FreeBSD SysAdmin Expert</span></div><div>Asterisk Expert</div= ></div></div></div></div></div></div> --0000000000000add3605d9bb4698--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogYUaqXsMKynTsXnzEn7g2Yxkm5RYbhdSp9h=JhGYbGTPQ>