[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: command to add user to supplementary group



On Fri, 25 Jul 2003, Neal D. Becker wrote:

> One thing I haven't found, is a simple util to add users to supplementary 
> groups.
>
usermod will do this.  The key is that the -g is for their primary
group (i.e. the one that shows up in the /etc/passwd file, and the 
-G (the big Gee!) edits the supplementary groups for the user.
So to add user john to the doe group you would type:

	usermod -G doe john

Cheers...james 
> 
> --
> Rhl-beta-list mailing list
> Rhl-beta-list redhat com
> http://www.redhat.com/mailman/listinfo/rhl-beta-list
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]