Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Wed, 6 Apr 2005 15:15:43 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: 1.5.14: strange sshd error (openssh-3.9p1-2)
Message-ID: <20050406131543.GM1471@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <b81259a005040400066706d969@mail.gmail.com> <20050404102944.GR1471@cygbert.vinschen.de> <42529480.20205@spirentcom.com> <b81259a00504051300479c77dd@mail.gmail.com> <42532525.541E8193@dessent.net> <b81259a005040520306e07fd07@mail.gmail.com> <20050406080433.GE1471@cygbert.vinschen.de> <4253D916.1010509@byu.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@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/

