Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: swamp-dog@ntlworld.com (Guy Harrison)
To: <cygwin@cygwin.com>
Subject: Re: sshd and fstat
Date: Mon, 21 Jan 2002 07:30:16 GMT
Reply-To: <cygwin@cygwin.com>
Message-ID: <3c4bc2aa.213575415@smtp.ntlworld.com>
References: <3c46d28e.857705044@post.ntlworld.com> <3c4a13e6.939968563@smtp.ntlworld.com> <3C481594.9050601@syntrex.com> <20020118161217.B11608@cygbert.vinschen.de>
In-Reply-To: <20020118161217.B11608@cygbert.vinschen.de>
X-Mailer: Forte Agent 1.5/32.451
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g0L7VQl25646

On Fri, 18 Jan 2002 16:12:17 +0100, Corinna Vinschen <cygwin@cygwin.com>
wrote:

>On Fri, Jan 18, 2002 at 01:31:16PM +0100, Pavel Tsekov wrote:
>> 
>> 
>> Guy Harrison wrote:
>> 
>> >On Thu, 17 Jan 2002 14:49:28 GMT, swamp-dog@ntlworld.com (Guy Harrison)
>> >wrote:
>> >
>> >
>> 
>> 
>> [snip]
>> 
>> 
>> >Could someone enlighten me about 'allow_ntsec'. How does CygWin turn
>> >this on?
>> 
>> 
>> 
>> When you add "ntsec" to the environment variable CYGWIN. Check FAQ and 
>> documentation for more info. Also read the mailing list.
>
>Especially /usr/doc/Cygwin/cygrunsrv.README
>	   /usr/doc/Cygwin/openssh-3.0.2p1-4.README
>
>If you'd used ssh-host-config to install ssh, it would have
>asked if it shall sshd install as a service and how to set the
>environment variable CYGWIN, defaulting to "CYGWIN=binmode ntsec tty".

I did. I still don't know the cause but armed with your info and Pavel's
I know for sure it wasn't cygwin: I've stepped through the lot, sshd and
cygwin1.dll!

I trundled across & physically rebooted the server: Problem gone. It
seemed to have a "ControlSet001" deficiency (ie no Environment key).



-- 
swamp-dog@ntlworld.com

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

