Hi
Is there any way to prevent users from setting up cron jobs? IE prevent them setting up crons that run every minute, hour, etc.
Cheers
Hi
Is there any way to prevent users from setting up cron jobs? IE prevent them setting up crons that run every minute, hour, etc.
Cheers
When I was young I used to break Windows, Now Microsoft does it for me!
WHM > Packages > Feature Manager > Edit a Feature List > disabled
I was more after the ability to restrict the recurance. EG can run monthly but not daily
When I was young I used to break Windows, Now Microsoft does it for me!
You couldn't impose that kind of limitation within Cpanel itself.
HOWEVER ...
You could possibly write a script to check the crontab files in
/var/spool/cron at regular intervals on it's own cronjob and
auto modify those cron files that don't meet your limits.
That should be an easy enough script to write and that
is exactly how I would go about doing it.
I have a similar measure in place on a few systems using
the same technique to override forwarders to AOL accounts