*BSD News Article 32518


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!news.Hawaii.Edu!ames!lll-winken.llnl.gov!sol.ctr.columbia.edu!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ensta!itesec!keltia.frmug.fr.net!not-for-mail
From: roberto@keltia.frmug.fr.net (Ollivier Robert)
Newsgroups: comp.os.386bsd.questions
Subject: Re: FreeBSD: executables in working dir
Date: 5 Jul 1994 20:40:56 +0200
Organization: A Happy FreeBSD-current Usenet Site
Lines: 21
Message-ID: <2vc9g6$11q@keltia.frmug.fr.net>
References: <2v9of3$46t@ohlone.kn.PacBell.COM> <JKH.94Jul4210444@whisker.hubbard.ie> <2valvp$egd@Mercury.mcs.com>
Reply-To: roberto@hsc.fr.net (Ollivier Robert)
NNTP-Posting-Host: keltia.frmug.fr.net
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

In article <2valvp$egd@Mercury.mcs.com>, Daniel Leeds <dleeds@MCS.COM> wrote:
>Jordan Hubbard (jkh@whisker.hubbard.ie) wrote:
>: Sounds like you don't have `.' in your $PATH!
>
>Heh, but don't add it!  Security no no there.  It adds the posibility of 
>trojans(no, not the condoms) etc...  Use ./(file) to run it from the 
>directory.  

Better, if  you want the  possibility of running  in-place-binaries and not
the security hole of  putting "." at the  beginning of the PATH  (like many
DOSsers generally do to get the same behaviour as DOS),  just put it at the
END of the PATH.

You can use TCSH, last is 6.05 (great) which does  it automatically but can
be disabled at compile time.

ftp://tesla.ee.cornell.edu/pub/tcsh/tcsh-6.05.tar.gz
-- 
Ollivier ROBERT                                           roberto@hsc.fr.net
Hervé Schauer Consultants                Ollivier.Robert@keltia.frmug.fr.net
PERL / MIME / PGP 2.6ui     FreeBSD keltia 1.1.5(RELEASE) CURRENT_145#0 i386