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: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: netbsd-users
Date: 02/11/1995 17:33:15
> Now, if NetBSD were to ever have a newgrp(1) (good/bad?) it would also
> have to spawn a new shell (initgroups, setgid, setuid, exec). Seems kinda
> cheesy to me, but then again...I guess one could always ``exec newgrp''.
or, if you _really_ want to do this, 'exec /usr/bin/login -fp $LOGNAME'
would probably do the trick.
cgd