delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/05/16:01:14

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
Message-ID: <b81259a00504051300479c77dd@mail.gmail.com>
Date: Tue, 5 Apr 2005 13:00:57 -0700
From: Greg Kempe <thelonghotsummer AT gmail DOT com>
Reply-To: Greg Kempe <thelonghotsummer AT gmail DOT com>
To: jbuehler AT spirentcom DOT com, cygwin AT cygwin DOT com
Subject: Re: 1.5.14: strange sshd error (openssh-3.9p1-2)
In-Reply-To: <42529480.20205@spirentcom.com>
Mime-Version: 1.0
References: <b81259a005040400066706d969 AT mail DOT gmail DOT com> <20050404102944 DOT GR1471 AT cygbert DOT vinschen DOT de> <42529480 DOT 20205 AT spirentcom DOT com>
X-IsSubscribed: yes

On Apr 5, 2005 6:37 AM, Joe Buehler <jbuehler AT spirentcom DOT com> wrote:
> Corinna Vinschen wrote:
> 
> >>Failed none for Greg from 127.0.0.1 port 1202 ssh2
> >>debug1: userauth-request for user Greg service ssh-connection method publickey
> >>debug1: attempt 1 failures 1
> >>debug2: input_userauth_request: try method publickey
> >>debug1: test whether pkalg/pkblob are acceptable
> >>debug1: temporarily_use_uid: 1005/513 (e=1005/513)
> >>seteuid 1005: Permission denied
> >>debug1: do_cleanup
> >
> >
> > Does that happen when sshd is installed as service under SYSTEM account?
> 
> This looks like the same error I reported a couple weeks ago in
> CVS.  Hopefully it's not really a 1.5.14 thing.

It looks like a permissions thing. Openssh-4p1-1 *was* working until I
started fiddling with permissions again, trying to get it back to
something more secure. I now have this error at the same place.

setegid 513: Invalid argument

If I authenticate with a password instead, then the ssh client gives

debug1: Next authentication method: password
Greg AT localhost's password: 
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
Last login: Tue Apr  5 12:36:31 2005 from localhost
setgid: Invalid argument

I would guess 513 is being rejected as a group ID. Does cygwin create
the None group or is it a built-in?

Greg

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