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
Message-ID: <00c701c550ac$81f03fd0$b3db87d4@multiplay.co.uk>
From: "Steven Hartland" <killing@multiplay.co.uk>
To: "Douglas De Couto" <D.DeCouto@orbisfunds.com>, <cygwin@cygwin.com>
References: <2AD3BD443A6168419DF39B33BD774B6D0910D7@WARWICK.orbis.bm>
Subject: Re: sshd problem: setgid: Invalid argument
Date: Wed, 4 May 2005 14:23:45 +0100
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original
Content-Transfer-Encoding: 7bit
X-Spam-Processed: multiplay.co.uk, Wed, 04 May 2005 14:20:13 +0100 (not processed: message from valid local sender)
X-MDRemoteIP: 212.135.219.179
X-Return-Path: killing@multiplay.co.uk
X-MDaemon-Deliver-To: cygwin@cygwin.com
X-MDAV-Processed: multiplay.co.uk, Wed, 04 May 2005 14:20:15 +0100
X-IsSubscribed: yes

iirc your cygwin passwords are out of sync with windows.
The details of this are covered in the readme I believe its been
a long while since I set it up.

    Steve
----- Original Message ----- 
From: "Douglas De Couto"


When I try to log into my Windows Server 2003 SP1 machine over ssh, I get the following error and my connection is closed after 
typing my password:

$ ssh username@machine
username@machine's password:
Last login: Wed May  4 14:04:26 2005 from mymachine
setgid: Invalid argument
Connection to machine closed.

I am running a relatively recent version of Cygwin on the machine (from this spring), and everything had been working fine until I 
made the following error, blowing away my /etc/group file while logged into the machine over ssh.

mkgroup -l -d > /etc/group

I searched the web and the best I could find was that perhaps my user didn't have a valid group on the machine, but, that's not 
the case.

I've tried reinstalling the OpenSSH package, removing the sshd user from the system, and various other combinations of tricks, 
but, no change.

Can anyone suggest a fix short of reinstalling all of Cygwin on that machine? 



================================================
This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 

In the event of misdirection, illegible or incomplete transmission please telephone (023) 8024 3137
or return the E.mail to postmaster@multiplay.co.uk.


--
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/

