delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/15/19:06:15

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.2.1.2.0.20050615185818.03ca2700@pop.prospeed.net>
Date: Wed, 15 Jun 2005 19:05:45 -0400
To: David Brusowankin <david AT brusowankin DOT net>, Cygwin List <cygwin AT cygwin DOT com>
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: isql does not work in cygwin (bash or zsh)
In-Reply-To: <42B0A3DE.2080006@brusowankin.net>
References: <42B0448C DOT 5080307 AT brusowankin DOT net> <d8pkfv$kuu$1 AT sea DOT gmane DOT org> <6 DOT 2 DOT 1 DOT 2 DOT 0 DOT 20050615123110 DOT 03c5d0e8 AT pop DOT prospeed DOT net> <42B0A3DE DOT 2080006 AT brusowankin DOT net>
Mime-Version: 1.0

At 05:55 PM 6/15/2005, you wrote:
>Larry Hall wrote:
>
>>
>>And make sure your CYGWIN environment variable doesn't contain "tty".  If
>>this doesn't work, then please read and follow the problem reporting
>>guidelines at:
>> 
>Bingo. It is set to ntsec tty for cygrunsrv. If I unset it, what will happen to those services started by cygrunsrv?


Depends.  But you can have you cake and eat it too.  Just reinstall the 
services using the '-e' flag of 'cygrunsrv' to specify CYGWIN for those
services that need something other than the defaults.  Or if you want
something more direct and don't mind editing the registry, you can do
this directly by editing/adding CYGWIN in:

/HKLM/SYSTEM/CurrentControlSet/Services/<name of Cygwin service>/Parameters/Environment

where <name of Cygwin service> is something like 'sshd'.

That way, the service can use 'tty' even if it's not set in your environment.




--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019