Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 10:33:47 -0700
From:      Wes Peters <wes@softweyr.com>
To:        Will Andrews <will@physics.purdue.edu>
Cc:        Peter Pentchev <roam@orbitel.bg>, arch@FreeBSD.ORG
Subject:   Re: no newgroup/newgrp in FreeBSD?
Message-ID:  <3A6728FB.76E7C687@softweyr.com>
References:  <20010116161703.H364@ringworld.oblivion.bg> <20010116162219.I364@ringworld.oblivion.bg> <20010116094133.B1858@puck.firepipe.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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