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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Tue, 13 May 2003 11:10:19 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Steve Fairbairn cc: cygwin AT cygwin DOT com Subject: Re: sshd as service without /usr/bin being in the system path. In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 13 May 2003, Steve Fairbairn wrote: > Hi All, > > I have a machine (Win2K SP3 on a domain) with both MKS Toolkit and now > cygwin installed. I require MKS Toolkit on the machine due to an issue with > cygwin I've not been able to resolve (very specific to in house software and > not the current topic). > > The problem I have is that I want to have cygwin sshd running but to > continue using MKS Toolkit it's easiest to keep cygwin off the system PATH > until I run the cygwin.bat script which updates PATH to include cygwin. > > Is there any way I can get cygwin sshd installed and working properly under > these circumstances. Every other time I have used sshd or read about it in > the mailing lists, adding /usr/bin to the path has been one of the steps > involved. > > I'm open to suggestions, > > Steve Fairbairn Steve, You can specify the path in cygrunsrv's -e option... However, note the marked lines from "cygrunsrv --help": -e, --env Optional environment strings which are added to the environment when service is started. You can add up to 255 environment strings using the `--env' option. ---> Note: /bin is always added to $PATH to allow all ---> started applications to find at least cygwin1.dll. so it looks like you don't even need to do that (/bin and /usr/bin are the same under Cygwin). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- 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/