0

Deny access to crontab for users

Hi, how can i restrict the Crontab facility for some of the users on my environment

ismail
asked Aug 13, 2018
1 Answer
0

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…
"

View More
linuxhelp
answered Jan 2, 2019
Your Answer
||||
 
100:0