command to add user to supplementary group

James Olin Oden joden at malachi.lee.k12.nc.us
Fri Jul 25 18:33:30 UTC 2003


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 at redhat.com
> http://www.redhat.com/mailman/listinfo/rhl-beta-list
> 





More information about the fedora-test-list mailing list