stanleyhuen
asked on
how to disable crontab?
I don't want to allow users to use crontab in linux server.
what can i do?
what can i do?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
Another way not very elegant but ... If you don' run the crond daemon, nothing will happen.
Hope this help.
Bye
Another way not very elegant but ... If you don' run the crond daemon, nothing will happen.
Hope this help.
Bye
The problem with removing crond or otherwise inactivating it is that you break other things, like log file rolling and other cleanup activities. The preferred solution is simply to restrict access. That's why there are cron.allow and cron.deny files.
How you do this depends on which distro you use.