From owner-freebsd-arch Thu Jan 18 21:20: 9 2001 Delivered-To: freebsd-arch@freebsd.org Received: from homer.softweyr.com (bsdconspiracy.net [208.187.122.220]) by hub.freebsd.org (Postfix) with ESMTP id B8E8137B400 for ; Thu, 18 Jan 2001 21:19:44 -0800 (PST) Received: from [127.0.0.1] (helo=softweyr.com ident=Fools trust ident!) by homer.softweyr.com with esmtp (Exim 3.16 #1) id 14JIwV-0000On-00; Thu, 18 Jan 2001 10:33:47 -0700 Message-ID: <3A6728FB.76E7C687@softweyr.com> Date: Thu, 18 Jan 2001 10:33:47 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: Will Andrews Cc: Peter Pentchev , arch@FreeBSD.ORG Subject: Re: no newgroup/newgrp in FreeBSD? References: <20010116161703.H364@ringworld.oblivion.bg> <20010116162219.I364@ringworld.oblivion.bg> <20010116094133.B1858@puck.firepipe.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Will Andrews wrote: > > On Tue, Jan 16, 2001 at 04:22:19PM +0200, Peter Pentchev wrote: > > http://ringwraith.online.bg/~roam/devel/sysutils/newgrp-1.0.tar.gz > [..] > > Sorry for being ignorant, but what's the difference between this and the > pw(8) group operations? System V only holds one GID per process. The newgrp command changes the active GID to another group by starting a new shell with the GID specified on the newgrp command line. You have to be a member of the group or know the group password. Since BSD uses a list of group memberships, newgrp is not needed. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message