[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: command to add user to supplementary group
- From: "Neal D. Becker" <nbecker hns com>
- To: rhl-beta-list redhat com
- Subject: Re: command to add user to supplementary group
- Date: Fri, 25 Jul 2003 13:30:52 -0400
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?
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]