From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 23:12:25 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 6CFCD16A401 for ; Mon, 17 Apr 2006 23:12:25 +0000 (UTC) (envelope-from gs_stoller@juno.com) Received: from outbound-mail.nyc.untd.com (outbound-mail.nyc.untd.com [64.136.20.164]) by mx1.FreeBSD.org (Postfix) with SMTP id 9878243D49 for ; Mon, 17 Apr 2006 23:12:24 +0000 (GMT) (envelope-from gs_stoller@juno.com) Received: from webmail62.nyc.untd.com (webmail62.nyc.untd.com [10.141.27.202]) by smtpout04.nyc.untd.com with SMTP id AABCEJJFVAMK3VN2 for (sender ); Mon, 17 Apr 2006 16:11:47 -0700 (PDT) Received: (from gs_stoller@juno.com) by webmail62.nyc.untd.com (jqueuemail) id LM7QZGK6; Mon, 17 Apr 2006 16:11:02 PDT Received: from [67.84.52.37] by webmail62.nyc.untd.com with HTTP: Mon, 17 Apr 2006 23:10:48 GMT X-Originating-IP: [67.84.52.37] Mime-Version: 1.0 From: "gs_stoller@juno.com" Date: Mon, 17 Apr 2006 23:10:48 GMT To: freebsd-questions@freebsd.org X-Mailer: Webmail Version 4.0 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-Type: text/plain Message-Id: <20060417.161102.1775.741838@webmail62.nyc.untd.com> X-ContentStamp: 1:1:1948011893 X-UNTD-OriginStamp: /s5f1SIGSI3+WdnoYQ8yRCI6QyWtHK9k6BTv+eY8TCj5CNga6uhKpw== X-UNTD-Peer-Info: 10.141.27.202|webmail62.nyc.untd.com|webmail62.nyc.untd.com|gs_stoller@juno.com Cc: victor.minichiello@verizon.net Subject: 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:12:25 -0000 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.