Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 27 Jul 2002 12:10:55 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: W2K and sshd, ssh - asks for password Message-ID: <20020727161055.GG16216@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20020724163138 DOT F3921 AT cygbert DOT vinschen DOT de> <20020724201757 DOT GC21112 AT redhat DOT com> <00da01c2336a$b940b210$0100a8c0 AT wdg DOT uk DOT ibm DOT com> <20020725112023 DOT B14134 AT cygbert DOT vinschen DOT de> <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020726182759 DOT 01f8f700 AT pop3 DOT cris DOT com> <20020727105641 DOT N3921 AT cygbert DOT vinschen DOT de> <013101c23570$9ce52f30$0100a8c0 AT wdg DOT uk DOT ibm DOT 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/