delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/05/06:29:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Stephen C. Biggs" <yyyyy50 AT hotpop DOT com>
To: cygwin AT cygwin DOT com
Date: Mon, 05 Aug 2002 03:29:03 -0700
MIME-Version: 1.0
Subject: Re: More on SSH problems....
Message-ID: <3D4DF0FF.2181.8C91D8@localhost>
In-reply-to: <20020805120808.C16778@cygbert.vinschen.de>
References: <3D4DE65D DOT 1440 DOT 6307BA AT localhost>

ARGH!  Sorry about that, Corinna... I hit the 
wrong check mark and sent this directly to you 
instead of to the list!  A thousand apologies!

I'm re-posting this to the list, only.

On 5 Aug 2002 at 12:08, Corinna Vinschen 
wrote:

> On Mon, Aug 05, 2002 at 02:43:41AM -0700, Stephen C. Biggs wrote:
> > I do, in fact, have two copies (both the same) of 
> > Cygwin1.dll.  One is the proper one in /bin and 
> > the other is in my chroot jail <chroot>/bin since 
> > this is the only way I can give the user the 
> > ability to do things like 'ls', etc.
> > 
> > Are you saying that this is what is killing me?  
> 
> Perhaps, yes.
> 
> > Why doesn't it die for empty passwords?  Is 
> 
> No idea.  Coincidence?
> 
> > there something in the pubkey authentication 
> > that might be holding a reference open over the 
> > chroot?  If this is true, then chroot upon SSH 
> > login is impossible under Cygwin!
> 
> How do you chroot after ssh login?
> 

A shell script rather than /bin/bash is the entry 
for the shell field in the user's passwd line.  The 
script executes chroot to the jail with /bin/bash - 
-login -i.  



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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