[can.usrgroup] Ok, so explain this to me then...

nik (09/29/89)

A while ago, various net.people replied to my request to know how to change
group within a shell script. Thanks and understood, at least I thought so.
My understanding was that the "newgrp" command exec's a new shell with the
new gid. Ok, so here's what I do:

$ newgrp x
$ stuff...
$ exit

Pow! I'm logged out, not returned to my original shell with the original gid.
Why?

[BTW: If these questions are amazing silly and trivial, would some kind
soul whisper that to me....]