delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/11/13:51:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Dave Korn" <dk AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: Problems with Indirect Interpretation (#!/bin/csh, #!/bin/tcsh, #!/bin/perl, etc...)
Date: Tue, 11 May 2004 18:50:59 +0100
MIME-Version: 1.0
In-Reply-To: <20040511174418.42681.qmail@web61002.mail.yahoo.com>
Message-ID: <NUTMEGMZarnrIXD3dcc00000080@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 11 May 2004 17:50:59.0647 (UTC) FILETIME=[84CB3CF0:01C43780]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Rocket Boy
> Sent: 11 May 2004 18:44

> This indeed appears to be the problem. I figured it
> something that basic. Though I searched the web for
> days I couldn't find the same symptoms discussed
> elsewhere.
> 
> The FAQ says that it is not recommended to add . to
> $PATH. Anyone, know a compelling reason not to?

  It's a security measure for the medium-to-fairly paranoid. :-O

  Basically it protects you against the possibility that some virus/trojan
might e.g. dump a copy of itself under the filename 'ls' into your home dir
or somewhere.  If you had '.' in the $PATH, as soon as you log in and run
ls, you'd end up executing the trojanned version; if you don't have . in
your $PATH, you know for sure that you'll always be executing the version in
/bin, which presumably (on a well secured system) will be read-only to
everyone except root, and hence less likely to have been trojanned/infected.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


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