Ad

ismail
asked Aug 13 2018
Answer
1.Become the root role
2.Edit the/etc/cron.d/cron.deny
file and add user names, one user per line. Include users who will be denied access to the crontab commands.
daemon
bin
smtp
nuucp
listen
nobody
noaccess
username1
username2
username3
3.Then Verify that the /etc/cron.d/cron.deny file contains the new entries#cat /etc/cron.d/cron.deny
daemon
bin
nuucp…
"

linuxhelp
asked Jan 02 2019
edited Jan 02 2019
Deny access to crontab for users
Hi, how can i restrict the Crontab facility for some of the users on my environment