Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Allow crontab for all users
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
arcterex
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 109

PostPosted: Sat Feb 07, 2004 8:33 pm    Post subject: Allow crontab for all users Reply with quote

Is there a good way to allow crontab use for all users? I could put them all in the cron group, but that sounds a bit hacky to me. Also I thought there were restrictions as to the number of users in a group (32 IIRC)?

Is there a better way?
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Sun Feb 08, 2004 11:34 am    Post subject: Re: Allow crontab for all users Reply with quote

arcterex wrote:
Is there a good way to allow crontab use for all users? I could put them all in the cron group, but that sounds a bit hacky to me.
actually that's the way to go. if you want users to use "su" put them into "wheel"-group. if you want them to be able to burn, "cdr"-group. access to floppy, cdrom, audio- and videodevices, games, manpages? put them in the appropriate groups. just edit /etc/group, change
Code:
cron::16:cron
to
Code:
cron::16:cron,YOURUSERNAME
, relogin (restart x) and you're done. well, actually i never tried it with cron, but that should be the gentoo-way.

Quote:
Also I thought there were restrictions as to the number of users in a group (32 IIRC)?
never heard of that one, but it's possible. how many users do you have on your system?
_________________
please, feel free to correct my english. - por favor, corrige mi español.
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sun Feb 08, 2004 1:35 pm    Post subject: Reply with quote

I suppose it depends on which cron package you use. With fcron (which I use) you can simply edit /etc/fcron/fcron.allow and /etc/fcron/fcron.deny.
Back to top
View user's profile Send private message
asimon
l33t
l33t


Joined: 27 Jun 2002
Posts: 979
Location: Germany, Old Europe

PostPosted: Sun Feb 08, 2004 5:39 pm    Post subject: Reply with quote

vixie-cron also has allow/deny files. See 'man contab'.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum