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: <b81259a00504051300479c77dd@mail.gmail.com>
Date: Tue, 5 Apr 2005 13:00:57 -0700
From: Greg Kempe <thelonghotsummer@gmail.com>
Reply-To: Greg Kempe <thelonghotsummer@gmail.com>
To: jbuehler@spirentcom.com, cygwin@cygwin.com
Subject: Re: 1.5.14: strange sshd error (openssh-3.9p1-2)
In-Reply-To: <42529480.20205@spirentcom.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
References: <b81259a005040400066706d969@mail.gmail.com> <20050404102944.GR1471@cygbert.vinschen.de> <42529480.20205@spirentcom.com>
X-IsSubscribed: yes

On Apr 5, 2005 6:37 AM, Joe Buehler <jbuehler@spirentcom.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@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/

