Skip site navigation (1)Skip section navigation (2)
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 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060417.161102.1775.741838>