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 10:04:33 +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: <20050406080433.GE1471@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>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <b81259a005040520306e07fd07@mail.gmail.com>
User-Agent: Mutt/1.4.2i

On Apr  5 20:30, Greg Kempe wrote:
> $ id
> uid=1005(Greg) gid=513(None)
> groups=0(root),513(None),544(Administrators),545(Users),1008(Debugger
> Users)
> 
> But it's not listed as a group in the User and Groups snap-in in
> Computer Management, I don't know if it should be. That'll teach me to
> fiddle with the permissions when everything's working.

That's normal on non-domain machines, unfortunately.  513 (None) is the
default primary group for all users and ther's nothing you can do about
it in the native environment.  There's some sort of system here, since
it's the same id as used for the "Domain Users" group in domains, which
is the default group for, well, domain users. 

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").


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/

