My user "craig" is in the /etc/sudoers
file on my CentOS 5.6 VM, however when I try to access the crontab using the command below I am presented with an error message:
sudo crontab -e -u crmpicco-stock-dev
[sudo] password for craig:
Sorry, user craig is not allowed to execute '/usr/bin/crontab -e' as root on dev.localdomain.
Why do I get this message as I can see in my /etc/sudoers
file that I can access the crontab requested.
Here is the entry from my /etc/sudoers
file:
craig ALL=(crmpicco-stock-dev) /usr/bin/crontab, /var/spool/cron/crmpicco-stock-dev