PDA

Bekijk de volledige versie : crontab -l not allowed?



Tellus1
23-07-2008, 18:00
I tried issuing crontab -l, but the only output I got was:

You (MY_USERNAME_HERE) are not allowed to use this program (crontab)
See crontab(1) for more information


What could be the problem?

avberk
23-07-2008, 19:25
I have the same issue.
Probably this option is not implemented well..

open '/opt/etc/crontab' in an editor instead.

wirespot
24-07-2008, 21:13
Read this:
http://www.math-linux.com/spip.php?article45

And if you'd have read "man crontab" as the nice error message says, you'd have seen that you need to use /var/cron/cron.allow and /var/cron/cron.deny to determine who is allowed to use crontab. Also, a quick google for the error message would have given you a lot of answers.

Do not edit crontab files by hand, you'll make a mess of things. They're not meant to be edited directly. Always use crontab -e and crontab -l.