delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/06/09:16:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <corinna-cygwin AT cygwin DOT com>
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: <b81259a005040400066706d969 AT mail DOT gmail DOT com> <20050404102944 DOT GR1471 AT cygbert DOT vinschen DOT de> <42529480 DOT 20205 AT spirentcom DOT com> <b81259a00504051300479c77dd AT mail DOT gmail DOT com> <42532525 DOT 541E8193 AT dessent DOT net> <b81259a005040520306e07fd07 AT mail DOT gmail DOT com> <20050406080433 DOT GE1471 AT cygbert DOT vinschen DOT de> <4253D916 DOT 1010509 AT byu DOT net>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019