Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Wed, 6 Apr 2005 15:15:43 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: 1.5.14: strange sshd error (openssh-3.9p1-2) Message-ID: <20050406131543.GM1471@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20050404102944 DOT GR1471 AT cygbert DOT vinschen DOT de> <42529480 DOT 20205 AT spirentcom DOT com> <42532525 DOT 541E8193 AT dessent DOT net> <20050406080433 DOT GE1471 AT cygbert DOT vinschen DOT de> <4253D916 DOT 1010509 AT byu DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4253D916.1010509@byu.net> User-Agent: Mutt/1.4.2i 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 AT cygwin DOT 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/