cronjob RBACs
Posted: Wed Oct 14, 2009 8:29 am
Hi folks,
I'm curious if there is anything special when defining RBACs for cronjobs; specifically scripts in /etc/cron.daily. I have 2 (mlocate and ntp) that I cannot get a working RBAC for. I have tried specifying the paths I need in a subject for the script (ex /etc/cron.daily/ntp) which doesn't seem to work. I have done nesting for the commands I need (ex /etc/cron.daily/ntp:/bin/rm) but that also fails.
Would it be b/ run-parts is running the scripts and I need to start with the subject for run-parts and work my way down? Any advice is appreciated.
(debian lenny, grsecurity v2.1.14)
thanks,
Mike S
I'm curious if there is anything special when defining RBACs for cronjobs; specifically scripts in /etc/cron.daily. I have 2 (mlocate and ntp) that I cannot get a working RBAC for. I have tried specifying the paths I need in a subject for the script (ex /etc/cron.daily/ntp) which doesn't seem to work. I have done nesting for the commands I need (ex /etc/cron.daily/ntp:/bin/rm) but that also fails.
Would it be b/ run-parts is running the scripts and I need to start with the subject for run-parts and work my way down? Any advice is appreciated.
(debian lenny, grsecurity v2.1.14)
thanks,
Mike S