Cron: vcron may affect all crons When adding a cron-.allow in /etc a nornal user can't use cron because the permissions are -rws------ 1 root cron 21276 Jan 3 10:29 /usr/bin/crontab the permissions should be -rwsr-xr-x 1 root cron 21276 Jan 3 10:29 /usr/bin/crontab This allows all users specified in /etc/cron.allow or /etc/crond.deny to be able to use or not use crontab.
sorry default permissions are -rwsr-x--- 1 root cron 21276 Jan 3 10:29 /usr/bin/crontab
docs-team please add a FAQ to add crontabs, the user has to be in the group crontab
Should the documentation reflect that somewere as the man pages says otherwise and there is no crontab group. With the permissions set as they are shouldn't they be part of the cron group?
I just added my user to cron group but I couldn't edit a crontab as a regular user. permissions -rwsr-x--- 1 root cron 21276 Jan 7 00:08 /usr/bin/crontab I am using a /etc/cron.allow file. But as soon as I doa chmod og+rx on /usr/bin/cron it works. -rwsr-xr-x 1 root cron 21276 Jan 7 00:08 /usr/bin/crontab
How does this fix the issue though? If the user is supposed to be in the crontab group, the other bit should not need to be set. Crontab might as well not have a group if that is the case.. As for the cron.allow file, that seems to not be working too.
I looked at permission on my working redhat system and that is how they have it set up. It seems as if the cron group is not set up correctly on gentoo if its not working. I got mine working by changing the "other" bits and then adding to cron.allow.
Well, i am using vcron and it works fine for me. My user is in the cron group, and these are the perms on my crontab: -rwsr-x--- 1 root cron 25120 Dec 16 00:24 /usr/bin/crontab Another developer did this and he came out with positive results. I am going to close this as invalid if there are no further questions. //zhen
same here sys-apps/vcron-3.0.1-r1 vcron is working perfect John: please add a short FAQ about to add the user to the group cron, if he want's to use crontabs
Done.