How to enable Cron for non-root users

If you try to edit a user’s crontab and get this error:

”crontab: you are not authorized to use cron.  Sorry.”

You need to log in as root and edit a config file to add the user that you want to access Cron too:

# vi /usr/lib/cron/cron.allow

We add the user:


We save & close.

Now we log in with the user and we are able to access its crontab:

$ crontab -e

[Seen: Nekan]

Leave a Reply

Your email address will not be published. Required fields are marked *