On Tue, Dec 14, 2004 at 12:48:30PM -0800, Ryan Lovett wrote: > On Tue, Dec 14, 2004 at 09:36:30PM +0100, Sven Luther wrote: > > On Tue, Dec 14, 2004 at 12:16:59PM -0800, Ryan Lovett wrote: > > > What about sites that have hundreds of users? Adding everyone to the > > > plugdev group would be somewhat unwieldy. (I'm not griping, I'm just > > > interested in a solution.) Is there an alternative to this? > > > > for user in `ls /home | grep -v lost+found`; do adduser $user plugdev; done > > > Its a management problem, not a task problem. For educational sites, each > semester adds and removes hundreds of new class accounts on top of visiting > scholar accounts, expiring graduated student accounts, etc.
Sure, but they keep a list if users, and a list of groups they have right to, and it is easy to add the right groups at creation time with a variant of the above. In fact it is probably the most efficient way of doing this. Friendly, Sven Luther

