delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/05/04/09:18:12

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
MIME-Version: 1.0
Subject: sshd problem: setgid: Invalid argument
Date: Wed, 4 May 2005 10:17:56 -0300
Message-ID: <2AD3BD443A6168419DF39B33BD774B6D0910D7@WARWICK.orbis.bm>
From: "Douglas De Couto" <D DOT DeCouto AT orbisfunds DOT com>
To: <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id j44DIBAa019107

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 AT machine
username AT 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?

Thanks,

Doug



--
Douglas S. J. De Couto
d.decouto *at* orbisfunds.com
 

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