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
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Sat, 27 Jul 2002 12:10:55 -0400
From: Christopher Faylor <cgf@redhat.com>
To: cygwin@cygwin.com
Subject: Re: W2K and sshd, ssh  - asks for password
Message-ID: <20020727161055.GG16216@redhat.com>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20020724163138.F3921@cygbert.vinschen.de> <VA.00000c10.00aec8ba@thesoftwaresource.com> <20020724201757.GC21112@redhat.com> <VA.00000c11.0214eedd@thesoftwaresource.com> <00da01c2336a$b940b210$0100a8c0@wdg.uk.ibm.com> <20020725112023.B14134@cygbert.vinschen.de> <VA.00000c2a.004a6713@thesoftwaresource.com> <5.1.0.14.2.20020726182759.01f8f700@pop3.cris.com> <20020727105641.N3921@cygbert.vinschen.de> <013101c23570$9ce52f30$0100a8c0@wdg.uk.ibm.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <013101c23570$9ce52f30$0100a8c0@wdg.uk.ibm.com>
User-Agent: Mutt/1.3.23.1i

On Sat, Jul 27, 2002 at 01:50:13PM +0100, Max Bowsher wrote:
>> Randall R Schulz wrote:
>>> In particular this means that no Cygwin code or script can
>>> meaningfully set the "ntsec" keyword in the CYGWIN variable--it must
>>> be supplied by the Windows environment.
>
>Corinna Vinschen wrote:
>> That's not right.  It only holds for some of the CYGWIN settings as
>> tty vs. notty which would be somewhat problematic.  E. g. a nontsec
>> application can start a ntsec app and vice versa.
>
>I didn't know that.  I thought that the whole of CYGWIN was read only
>once at first dll startup.
>
>But then, I should have realised, since otherwise cygrunsrv -e
>"CYGWIN=ntsec" would have no effect.
>
>So, setting CYGWIN=tty via cygrunsrv is pointless?  Because
>ssh-host-config does that.

It's not pointless but I don't see why it would be necessary.
CYGWIN=tty is more or less assumed for any application that uses a pty,
which should be any application that is started as a service which is
intended to start interactive processes.  The only effect that would
have is to associate a tty with non-interactive rsh or ssh sessions
which would just serve to slow things down slightly with, IMO, no
benefit.

cgf

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

