cc:  [email protected]  [email protected]
Subject: Re: Re: [ast-developers] Usage difference between newgrp and 
/usr/bin/newgrp?
--------


> Erm... note: You still have to call the external /usr/bin/newgrp
> because it must be a setuid "root" binary to handle groups which are
> normally not part of the users Unix credentials but are accessible
> using group passwords (such password-protected groups are often used
> on universities).
> AFAIK it might be sufficient to execute it like a normal shell command
> and not |exec()| it to replace the current shell process.
> 

If you don't exec it, a new process is created.  That is not the
traditional behavior of newgrp which replaces the process with a new
one.

David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to