On Apr 6 06:41, Eric Blake wrote: > According to Corinna Vinschen on 4/6/2005 2:04 AM: > > In Cygwin you can change the primary group to any group you're member of > > by changing the pw_gid entry (e.g. 545 for "Users"). > > Is there any way in cygwin to implement the POSIX-required utility newgrp, > and add such a utility to cygutils? It would be nice to dynamically > change groups rather than having to change the pw_gid entry every time I > want my primary group changed.
Well, sure, go ahead. Be aware that this allows to change the primary group *only* to one of the groups already present in the processes' access token. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/