delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/09/09:58:04

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
MIME-Version: 1.0
Message-ID: <14737.9813.255553.378924@jupiter.akutech.de>
Date: Wed, 9 Aug 2000 11:37:25 +0200 (MDT)
From: Ralf Fassel <ralf AT akutech DOT de>
To: Corinna Vinschen <vinschen AT cygnus DOT com>
Cc: norbert DOT bladt AT usa DOT net, cygwin AT sourceware DOT cygnus DOT com
Subject: Re: cygwin-1.1.4: problems with remote commands
In-Reply-To: <39911470.C48C304C@cygnus.com>
References: <20000809063835 DOT 13290 DOT qmail AT nwcst289 DOT netaddress DOT usa DOT net>
<14737 DOT 2200 DOT 380459 DOT 958344 AT jupiter DOT akutech DOT de>
<39911470 DOT C48C304C AT cygnus DOT com>
Organization: Akustik Technologie Goettingen (ATG)

* Corinna Vinschen
| Personally I have only the Cygwin bin path which points to the
| base package (including cygwin1.dll!) in my system environment
| as last entry:
| 
| 	PATH="...:D:\Cygwin\bin"

Same here. You need that for cygwin1.dll, otherwise the services won't
start if cygwin1.dll is not copied to some dir in PATH.

| In my global profiles (bash: /etc/profile, tcsh: /etc/csh.login)
| I set PATH so that it contains all my important bin paths at the
| beginning:
| 
| 	export PATH="/usr/local/bin:/usr/bin:/bin:$PATH"

This is what is in the current cygwin /etc/profile, and works just
fine for real logins, but this file is obviously not read when a
one-time-command is issued by sshd.  Try

   % ssh NT-BOX 'echo $PATH'

You will see the PATH as set up in the system environment, missing the
/usr/local/bin:/usr/bin stuff at the beginning.

I guess this is how it is designed to work, since the
one-time-commands are no login sessions :-/

Regards
R'
-- 
And at the top of the screen I spied the following lines:
    # cd 
    # rm -rf * 
Oh, shit, I thought.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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