Xref: utzoo comp.unix.questions:4811 comp.unix.wizards:5773
Path: utzoo!utgpu!water!watmath!clyde!rutgers!ames!oliveb!tymix!epimass!jbuck
From: jbuck@epimass.EPI.COM (Joe Buck)
Newsgroups: comp.unix.questions,comp.unix.wizards
Subject: Re: Setting up groups (LONG)
Message-ID: <1736@epimass.EPI.COM>
Date: 16 Dec 87 18:13:12 GMT
References: <4718@well.UUCP> <228@hub.ucsb.edu> <9519@tekecs.TEK.COM>
Reply-To: jbuck@epimass.EPI.COM (Joe Buck)
Organization: Entropic Processing, Inc., Cupertino, CA
Lines: 16

In article <9519@tekecs.TEK.COM> andrew@frip.gwd.tek.com (Andrew Klossner) writes:
>	"How do you assign a user to more than one group?"
>
>You can only do so under a Berkeley-derived Unix.

Well, sort of.  Under 4.2bsd and its descendants (4.3, Ultrix, Sun,
etc), you can be in multiple groups at once; files are owned by a
single group, which is by default the same as that of the directory
the file is created in, though the owner can change the group of a file
to any group the owner is a member of.  Under all other Unixes,
you can be authorized to be in multiple groups (in the /etc/group
file) but at any given time you are in only one group.  However, you
can use "newgrp" to "log in" to a different group.
-- 
- Joe Buck  {uunet,ucbvax,sun,decwrl,}!epimass.epi.com!jbuck
	    Old internet mailers: jbuck%epimass.epi.com@uunet.uu.net