Contents
How do I allow users to use crontab in Linux?
To allow or deny access to specific users, crontab uses the files /etc/cron. allow and /etc/cron.
- If cron. …
- If cron.allow does not exist – all users except the users listed into cron.deny can use crontab.
- If neither of the file exists – only the root can use crontab.
- If a user is listed in both cron.
How do I give permission to crontab?
How to Limit crontab Command Access to Specified Users
- Become the root role.
- Create the /etc/cron. d/cron. allow file.
- Add the root user name to the cron. allow file. …
- Add the user names, one user name per line. Include users that will be allowed to use the crontab command.