View previous topic :: View next topic |
Author |
Message |
arcterex Tux's lil' helper
Joined: 30 Sep 2002 Posts: 109
|
Posted: Sat Feb 07, 2004 8:33 pm Post subject: Allow crontab for all users |
|
|
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 |
|
|
plasmagunman l33t
Joined: 07 Jun 2002 Posts: 604 Location: berlin
|
Posted: Sun Feb 08, 2004 11:34 am Post subject: Re: Allow crontab for all users |
|
|
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 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 |
|
|
ronmon Veteran
Joined: 15 Apr 2002 Posts: 1043 Location: Key West, FL
|
Posted: Sun Feb 08, 2004 1:35 pm Post subject: |
|
|
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 |
|
|
asimon l33t
Joined: 27 Jun 2002 Posts: 979 Location: Germany, Old Europe
|
Posted: Sun Feb 08, 2004 5:39 pm Post subject: |
|
|
vixie-cron also has allow/deny files. See 'man contab'. |
|
Back to top |
|
|
|
|
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
|
|