From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 23:26:01 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27BB916A400 for ; Mon, 17 Apr 2006 23:26:01 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70E3743D6A for ; Mon, 17 Apr 2006 23:25:57 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.139]) by mxout1.cac.washington.edu (8.13.6+UW06.03/8.13.5+UW06.03) with ESMTP id k3HNPu1o030023 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 17 Apr 2006 16:25:56 -0700 X-Auth-Received: from [128.208.5.99] (nilakantha.cs.washington.edu [128.208.5.99]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.6+UW06.03/8.13.6+UW06.03) with ESMTP id k3HNPtR4002776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 17 Apr 2006 16:25:56 -0700 Message-ID: <44442403.8070106@u.washington.edu> Date: Mon, 17 Apr 2006 16:25:55 -0700 From: Garrett Cooper User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20060417.161102.1775.741838@webmail62.nyc.untd.com> In-Reply-To: <20060417.161102.1775.741838@webmail62.nyc.untd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Groups X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2006 23:26:01 -0000 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