This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin OpenSSH environment question


Hi All...

I understand Corinna's pointer to the System Environment, but...

1) I have problems putting C:\Cygwin\bin first on the path because it breaks 
other things. I have C:\Cygwin\bin there, just not first.

2) Why is the path set differently for interactive login vs. command 
execution?

3) I believe this is different behavior than I have seen in the past.

Thanks,

...Karl

>From: Corinna Vinschen <cygwin@cygwin.com>
>To: cygwin@cygwin.com
>Subject: Re: Cygwin OpenSSH environment question
>Date: Thu, 29 Nov 2001 11:18:10 +0100
>
>On Wed, Nov 28, 2001 at 04:02:15PM -0800, Karl M wrote:
> > Hi All...
> >
> > If I type
> >
> > ssh localhost set
> >
> > and look at what I get for PATH, I see
> >
> > PATH='/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program
> > Files/Support Tools:/usr/bin...
> >
> > but if I type
> >
> > ssh localhost
> >
> > and then type
> >
> > set
> >
> > I see
> >
> > 
>PATH='/usr/local/bin:/usr/bin:/bin:/c/WINNT/system32:/c/WINNT:/c/WINNT/System32/Wbem:/c/Program
> > Files/Support Tools:/usr/bin...
> >
> > This looks different than what I recall on older installs (OpenSSH and
> > Cygwin). For the time being, I fixed it by modifying PATH in the 
>cygrunsrv
> > environment for OpenSSH.
> >
> > Why are these different? Should they be?
>
>Think `System environment'.
>
>Corinna
>
>--
>Corinna Vinschen                  Please, send mails regarding Cygwin to
>Cygwin Developer                                mailto:cygwin@cygwin.com
>Red Hat, Inc.
>
>--
>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/
>


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]