command to add user to supplementary group

Neal D. Becker nbecker at hns.com
Fri Jul 25 17:30:52 UTC 2003


On Friday 25 July 2003 01:21 pm, Mitch Anderson wrote:
> On Fri, 2003-07-25 at 11:19, Neal D. Becker wrote:
> > One thing I haven't found, is a simple util to add users to supplementary
> > groups.
>
> moduser -G group1,group2,group3
>
>
>

Almost, except this doesn't *add* a user to a group.  You have to know which 
groups that user is a member of already.  Say I want to add 100 users to a 
new group.

Probably easy script to write that uses id and moduser, but really shouldn't 
moduser just support adding/deleting a user from the list?





More information about the fedora-test-list mailing list