*BSD News Article 37849


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!warrane.connect.com.au!troll.apana.org.au!rivendell.apana.org.au!not-for-mail
From: phil@rivendell.apana.org.au (Phil Homewood)
Newsgroups: comp.os.386bsd.questions
Subject: Re: why don't some commands see
Date: 14 Nov 1994 11:24:32 +1000
Organization: Rivendell - APANA Brisbane
Lines: 15
Message-ID: <3a6e8g$6qj@rivendell.apana.org.au>
References: <39h7rh$iui@news.doit.wisc.edu> <Cz1ro1.8M2@world.std.com>
NNTP-Posting-Host: rivendell.apana.org.au
X-Newsreader: TIN [version 1.2 PL2]

Tyrone R Powers (tyrone@world.std.com) wrote:
: you dont have '.' in your path. To run programs in the
: current directory, you're going to have to type:
: ./<program-name>    
: or put '.' in your path. 

'.' in the path is a BIG security hole - _especially_ if you happen to
be root. Don't do it. Run './foo'  or '/usr/games/foo' instead.

Phil.
--
Phil Homewood                           phil@rivendell.apana.org.au
APANA Brisbane Regional Co-Ordinator    brisbane@apana.org.au
 "I can't remember anything, Can't tell if this is true or dream,
Deep down inside I feel to scream, This terrible silence stops me"