How Do I Give Crontab Permission to User in Linux?
Contents

How do I allow users to use crontab?

To verify if a specific user can access the crontab command, use the crontab -l command while you are logged into the user account. Either this user either is listed in the cron. allow file (if the file exists), or the user is not listed in the cron. deny file.

How do I allow a non root user to use crontab?

3 Answers. /etc/crontab is the system wide crontab . while crontab -e is per user, it’s worth mentioning with no -u argument the crontab command goes to the current users crontab. You can do crontab -e -u to edit a specific users crontab .

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest