From: | Neil Bothwick <neil@××××××××××.uk> | ||
---|---|---|---|
To: | gentoo-user@l.g.o | ||
Subject: | Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab | ||
Date: | Wed, 21 Jun 2006 14:35:47 | ||
Message-Id: | 20060621152049.76364579@hactar.digimed.co.uk | ||
In Reply to: | Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab by Enrico Weigelt |
1 | On Wed, 21 Jun 2006 15:32:31 +0200, Enrico Weigelt wrote: |
2 | |
3 | > But this is quite inconvenient, if you have dozens of users and |
4 | > want to allow them all to edit their crontabs. |
5 | |
6 | egrep ^.*?:.*?:.*?:100: /etc/passwd | cut -d: -f1 | while read u do gpasswd -a $u cron; done |
7 | |
8 | will add all users from group GID 100 (users on this system) to the cron |
9 | group. |
10 | |
11 | |
12 | -- |
13 | Neil Bothwick |
14 | |
15 | "Bother," said Pooh, as he was given another bad script. |
File name | MIME type |
---|---|
signature.asc | application/pgp-signature |
Subject | Author |
---|---|
Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab | "Bo Ørsted Andresen" <bo.andresen@××××.dk> |