From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Ft3o3-0001Kt-11 for garchives@archives.gentoo.org; Wed, 21 Jun 2006 14:35:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k5LEXW4U014339; Wed, 21 Jun 2006 14:33:32 GMT Received: from rutherford.zen.co.uk (rutherford.zen.co.uk [212.23.3.142]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k5LEKsS0031551 for ; Wed, 21 Jun 2006 14:20:54 GMT Received: from [82.69.83.178] (helo=desiato.digimed.co.uk) by rutherford.zen.co.uk with esmtp (Exim 4.34) id 1Ft3Zd-0000Ev-Op for gentoo-user@lists.gentoo.org; Wed, 21 Jun 2006 14:20:53 +0000 Received: from hactar.digimed.co.uk (hactar.digimed.co.uk [192.168.1.2]) by desiato.digimed.co.uk (Postfix) with ESMTP id 53317142113E for ; Wed, 21 Jun 2006 15:20:53 +0100 (BST) Date: Wed, 21 Jun 2006 15:20:49 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Problem: unprivileged user cannot use /usr/bin/crontab Message-ID: <20060621152049.76364579@hactar.digimed.co.uk> In-Reply-To: <20060621133231.GA9851@nibiru.local> References: <20060621113412.GA23599@nibiru.local> <200606211351.39746.ext-dirk.heinrichs@nokia.com> <44993B9D.5040500@mid.message-center.info> <20060621133231.GA9851@nibiru.local> Organization: Digital Media Production X-Mailer: Sylpheed-Claws 2.3.1 (GTK+ 2.8.19; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary=Sig_8hNbIJDhcRsE4t7VRZ3trjS; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Originating-Rutherford-IP: [82.69.83.178] X-Archives-Salt: 8503762f-4db6-4e1e-8f90-f168e64e20fe X-Archives-Hash: c30b5ddda86346bf643c5546b35fca0d --Sig_8hNbIJDhcRsE4t7VRZ3trjS Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Wed, 21 Jun 2006 15:32:31 +0200, Enrico Weigelt wrote: > But this is quite inconvenient, if you have dozens of users and > want to allow them all to edit their crontabs. egrep ^.*?:.*?:.*?:100: /etc/passwd | cut -d: -f1 | while read u do gpasswd= -a $u cron; done will add all users from group GID 100 (users on this system) to the cron group. --=20 Neil Bothwick "Bother," said Pooh, as he was given another bad script. --Sig_8hNbIJDhcRsE4t7VRZ3trjS Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFEmVXEum4al0N1GQMRAn4QAKC+U/Nv84FxVS0jmNwmsBo6PAtdWACdG9gi Dxn6/n7eQribljB1JtiCKYQ= =1DmR -----END PGP SIGNATURE----- --Sig_8hNbIJDhcRsE4t7VRZ3trjS-- -- gentoo-user@gentoo.org mailing list