How to allow or deny users the `cron` or `at` command.
Issue
- Users, by default, can access the
cron
andat
commands. - Restrictions need to be set to allow/deny only certain users access to these commands.
Environment
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.