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 Message-Id: <5.1.0.14.2.20020727071329.02d11600@pop3.cris.com> X-Sender: rrschulz AT pop3 DOT cris DOT com Date: Sat, 27 Jul 2002 07:34:20 -0700 To: cygwin AT cygwin DOT com, cygwin AT cygwin DOT com From: Randall R Schulz Subject: Re: W2K and sshd, ssh - asks for password In-Reply-To: <20020727105641.N3921@cygbert.vinschen.de> References: <5 DOT 1 DOT 0 DOT 14 DOT 2 DOT 20020726182759 DOT 01f8f700 AT pop3 DOT cris DOT com> <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> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Max, Corinna, First, Max, I'm sorry for the misinformation. Second, Corinna, thanks for the correction. Does this imply that the CYGWIN variable is consulted upon every "exec" system call to decide whether the ensuing program executes with "ntsec" in effect? I assume the check would not occur during a "fork" call. By the way, I can have both a "tty" and a non-"tty" shell running concurrently, so it must be a process-by-process (checked on fork) or a program-by-program (checked on exec) characteristic. The CYGWIN environment variable page of the Cygwin User Guide ( does not mention when the CYGWIN variable is consulted for the setting of the various options. Nor, as far as I can tell, does the "ntsec" page (). Randall Schulz Mountain View, CA USA At 01:56 2002-07-27, Corinna Vinschen wrote: >On Fri, Jul 26, 2002 at 06:32:59PM -0700, Randall R Schulz wrote: > > You should be aware that certain keywords in the CYGWIN variable, among > > them "ntsec," are only examined when the Cygwin1.dll initially loads > (i.e., > > every time a Cygwin application starts up and the Cygwin1.dll shared > > library was not already loaded; that can occur any number of times between > > reboots or logins). > > > > 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. The usual way of doing this is to use the System > > control panel's Environment setting function. > >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. > >Corinna -- 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/