Subject: Re: bin/792: su(1) ignores primary group, it and id(1) disagree with kernel on group membership
To: Jason Thorpe <thorpej@nas.nasa.gov>
From: Jason Downs <downsj@PEAK.ORG>
List: netbsd-users
Date: 02/11/1995 11:39:05
In message <199502110131.RAA29591@lestat.nas.nasa.gov>,
Jason Thorpe writes:
>On Fri, 10 Feb 1995 16:55:21 -0800
> Jason Downs <downsj@PEAK.ORG> wrote:
>
> > This is how UN*X has been for a very long time. Changing it would
> > certainly `feel' wrong. A newgrp(1) command might be nice, though.
>
>I thought that this is what initgroups(3) was for...I mean, I was under
>the impression that login(1) did this for you...thus, ridding the user of
>the need to use newgrp...
Exactly. So if your groups change, you can run newgrp(1) to re-initialize
them. Granted, just running login(1) again would this... But newgrp(1)
also allowed the user to specify a primary group.
--
//---------------//------------------------//
// Jason Downs // downsj@CSOS.ORST.EDU //
//---------------//------------------------//