-edit-
Pst, Penguin, move off my frequency ;-)
I did this command:
groupadd cron
chown root:cron /usr/bin/crontab
chmod 750 /usr/bin/contrab
and
gpasswd -a alessandro cron
to give permissions to alessandro, but when i do
crontab -e
to edit alessandro's crontab, i receive this message:
10-Sep-2005 21:05 initgroups failed: alessandro Operation not permittedunable to create /var/spool/cron/alessandro.new: Permission denied
unable to append to /var/spool/cron/cron.update
so i did this (as root)
chown root:cron /var/spool/cron/
chmod 775 /var/spool/cron/
but doing crontab -e (as alessandro) i recive:
10-Sep-2005 21:09 initgroups failed: alessandro Operation not permitted
and vi editor don't starts to edit crontab......
How can i do?
Thanks, alex1969
]]>Yes, infact i tried to use cron.deny, but it doesn't work, because dcron in archlinux repository is the Dillon's Cron Daemon, and it doesn't support cron.deny or cron.allow
Ok, so i must create group cron and change the group of /usr/bin/contrab from root:root to root:cron
I would have use fcron in AUR but it's unsupported and not community....
I hope that fcron become community as soon as possible, because it's very powerful....!!!
Thanks
Alex1969
]]>However, I've found a way to make dcron work on user-basis.
groupadd cron
chown root.cron /usr/bin/crontab
chmod 4750 /usr/bin/crontab
Now add users you want to allow to use cron to cron group.
]]>Or, you can create /etc/cron.allow with the only users you want to allow.
]]>My server has some users accounts, and i would to deny the use of crontab to some of this users. How can do it?
Sorry for my bad english but i'm italian
I hope you will answer as soon as possible... thanks
]]>