From owner-freebsd-questions Wed Jun 5 00:56:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id AAA22925 for questions-outgoing; Wed, 5 Jun 1996 00:56:14 -0700 (PDT) Received: from tommie.ngonet.be (tommie.ngonet.be [193.190.166.2]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id AAA22895 for ; Wed, 5 Jun 1996 00:56:02 -0700 (PDT) Received: from koekiemonster.ngonet.be (koekiemonster.ngonet.be [193.190.166.75]) by tommie.ngonet.be (8.6.12/8.6.12) with SMTP id JAA09655; Wed, 5 Jun 1996 09:54:08 +0200 Message-ID: <31B53D2E.2452@ngonet.be> Date: Wed, 05 Jun 1996 09:54:22 +0200 From: Gunter Loos Organization: NgoNet - Brussels X-Mailer: Mozilla 2.0 (Win95; I) MIME-Version: 1.0 To: Information Help Desk CC: freebsd-questions@freebsd.org Subject: Re: command not found References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Information Help Desk wrote: > > HI !!! > > Whenever I run an executable file located in the current directory > I'm in, I always receive a 'command not found' error. I found this very > odd since the executable file is there but it seems that the shell cannot > find it. To remedy this problem I have to prefix any executable file I > want to run with './' (i.e. ./bootpgw). > > Is there any other solutions for this bug (if it is)?No bug: security. Root hasn't got . in its path, and its best to leave it that way... Cheers, -- . .__ . |Nationaal Centrum voor OntwikkelingsSamenwerking vzw, NgoNet _| _ [ __ | |Voice Gunter.Loos@+32 2 5392620 Fax +32 2 5391343 (_](/, [_./(_|| |mailto:gul@ngonet.be "You are all weirdos." - Sam the Eagle ----MijnEigenWoordenNietVanIemandAnders - MyOwnExpressionsNotSomeoneElses----