View Full Version : crontab
8th October 2004, 01:33 PM
I was wanting to setup fetchmail using a cron job on Fedora 3 Test 2, I issued crontab -e on the command line and got an error - saying only root can use this. I su - to root tried again and got the same response. Any ideas!?
13th October 2004, 09:34 AM
Well I have just one guess. Please consider, I'm still a linux/unix newb, but I guess maybe there exists somewhere the cron.deny-file, where maybe root and so on is stated, or a cron.allow-file, where root and other users are not listed. The idea behind the files is this: If there exists a denyfile, all loginanmes stated there, have no permission to use cron. And if there exists a cron.allow only those who're stated there are able to use the cron.
Now fllows an overview where the ususla files can be found:
crontab-files [USUSAL]: /var/spool/cron/crontabs
crontab-files [RED HAT]: /var/spool/cron/tabs
crontab-files [SuSE]: /etc/crontab/
cron.allow or cron.deny: /etc/ or /var/spool/cron
Hope that helps a little ;)
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.