delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/18/11:22:50

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 18 Nov 2010 17:22:18 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: sshd problem with recent snapshots
Message-ID: <20101118162218.GF18309@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20101115165334 DOT GH17405 AT calimero DOT vinschen DOT de> <4CE1972C DOT 4080809 AT cornell DOT edu> <20101116135814 DOT GC26851 AT calimero DOT vinschen DOT de> <4CE29643 DOT 2030005 AT cornell DOT edu> <20101116145906 DOT GD26851 AT calimero DOT vinschen DOT de> <4CE3ED2A DOT 9040308 AT cornell DOT edu> <20101117154736 DOT GC11144 AT calimero DOT vinschen DOT de> <4CE45117 DOT 4040200 AT cornell DOT edu> <20101118011127 DOT GA13375 AT ednor DOT casa DOT cgf DOT cx> <20101118110733 DOT GB26196 AT calimero DOT vinschen DOT de>
MIME-Version: 1.0
In-Reply-To: <20101118110733.GB26196@calimero.vinschen.de>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

On Nov 18 12:07, Corinna Vinschen wrote:
> On Nov 17 20:11, Christopher Faylor wrote:
> > On Wed, Nov 17, 2010 at 05:03:03PM -0500, Ken Brown wrote:
> > >On 11/17/2010 10:47 AM, Corinna Vinschen wrote:
> > >> Hmm.  Except, maybe, since you seem to be set up to build Cygwin from
> > >> CVS, could you start building the 09-12 version from CVS and then just
> > >> add one change from CVS at a time using
> > >>
> > >>    cvs up -D 'yyyy-mm-dd HH:MM'
> > >>
> > >> as filter until you encounter the problem?  An interesting situation to
> > >> test would be, if you have the state after this change:
> > >>
> > >>    2010-09-12  Corinna Vinschen<...>
> > >>
> > >>      * sec_acl.cc (acl_worker): Remove.
> > >>      (acl32): Implement acl_worker functionality here.
> > >>      (lacl32): Just return -1 with errno set to ENOSYS.
> > >>      (lacl): Ditto.
> > >>      * include/cygwin/acl.h (lacl): Remove this call.
> > >>
> > >> and then just add this single change from the first 2010-09-13 checkin:
> > >>
> > >>      * fhandler_tty.cc (fhandler_tty_slave::init): Use tty::setpgid method.
> > >
> > >It's fine through the fhandler_tty.cc change, and then the problem 
> > >occurs as soon as I add the rest of the 2010-09-13 11:17:36 checkin.
> > 
> > FWIW, I've finally unravelled the problems on my system that stopped me
> > from logging in via ssh (I needed to revert to a backup of my security
> > settings from 9/2009).  I can't even login at all using the 9/17
> > snapshot although I can run commands like 'ssh localhost "/bin/ls"'.
> > 
> > I'm somewhat distracted right now but I'll do some more digging as time
> > permits.
> 
> Additionally I'll set up a new XP SP3 system for testing.  Maybe I can
> finally reproduce this as well...

Success.  I can reproduce the issue.  I also could reproduce it now on
my other XP SP3 system.  It turned out that it depends on the account
under which the sshd service is started.  Originally I started sshd
under my cyg_server account, just like on any other system.  I changed
that back to the default(*) SYSTEM account and, voila, suddenly I get
the `permission denied' problem.  I still have to debug it, though.


Corinna


(*) Default for pre-2K3 systems.  If you have a Vista or Windows 7
    system, don't try that at home, kids!

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019