This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: More on SSH problems....


On Mon, Aug 05, 2002 at 03:29:03AM -0700, Stephen C. Biggs wrote:
> > 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.  

So it's not the sshd server chroot'ing (which isn't implemented
in the official ssh sources anyway).  The problem might be related
to the fact that sshd and the shell script (another bash, that is)
is still running not chrooted (using the Cygwin DLL in /bin) and
the child bash is running using the Cygwin DLL in the chroot jail.
Are these DLLs the very same version?  This is the minimal requirement.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]