Date: Mon, 17 Apr 2006 16:25:55 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: freebsd-questions@freebsd.org Subject: Re: Groups Message-ID: <44442403.8070106@u.washington.edu> In-Reply-To: <20060417.161102.1775.741838@webmail62.nyc.untd.com> References: <20060417.161102.1775.741838@webmail62.nyc.untd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
gs_stoller@juno.com wrote: > I recently tried using the newgrp command (just for kicks) and it aborted killing the window in which I invoked it. I couldn't find a man page for newgrp (though I did find it in O'Reilly's "UNIX in a Nutshell"). This has led me to question how groups are used in UNIX . > Say I belong to 3 groups. When I log in, I presume all 3 group names are associated with me, since I don't see any of them associated with my line in /etc/passwd . Then if I try to access a file which I don't own, the file system checks to see the group that owns it is any of the ones to which I belong, and if so that access prevails. Otherwise, the access for "other" applies. Sounds more like a statement than a question, but roughly, that's what happens... -Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44442403.8070106>