Date: Mon, 17 Apr 2006 23:10:48 GMT From: "gs_stoller@juno.com" <gs_stoller@juno.com> To: freebsd-questions@freebsd.org Cc: victor.minichiello@verizon.net Subject: Groups Message-ID: <20060417.161102.1775.741838@webmail62.nyc.untd.com>
next in thread | raw e-mail | index | archive | help
I recently tried using the newgrp command (just for kicks) and it abo= rted killing the window in which I invoked it. I couldn't find a man p= age for newgrp (though I did find it in O'Reilly's "UNIX in a Nutshel= l"). 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 a= re 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 one= s to which I belong, and if so that access prevails. Otherwise, the acc= ess for "other" applies.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060417.161102.1775.741838>