Security News > 2021 > February > Linux 101: How to block users from setting up their own cron jobs
Jack Wallen shows you how to gain a bit more security on your Linux servers by blocking users from adding cron jobs.
You're a new Linux admin and you're familiar with how cron works.
You've been tasked with hardening your Linux servers and one thing you'd like to do is prevent users from setting up their own cron jobs.
What do you do? You block users from creating cron jobs.
You don't have to block users with ALL. If you want to block specific users, simply add their usernames, one per line, in the deny file.
That's all there is to blocking users from setting up their own cron jobs in Linux.