From owner-freebsd-questions Sat Jan 2 16:28:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA22063 for freebsd-questions-outgoing; Sat, 2 Jan 1999 16:28:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from Kirk.NetUnlimited.net (Kirk.netunlimited.net [208.128.132.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA22057 for ; Sat, 2 Jan 1999 16:28:41 -0800 (PST) (envelope-from brownicm@netunlimited.net) Received: from malachi.my.domain (Khan-181.netunlimited.net [208.165.3.182]) by Kirk.NetUnlimited.net (8.8.6/8.8.6) with ESMTP id TAA25296; Sat, 2 Jan 1999 19:27:42 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <19990102144023.B18130@wopr.caltech.edu> Date: Sat, 02 Jan 1999 19:26:30 -0500 (EST) From: Chris Browning To: Matthew Hunt Subject: Re: executable scripts Cc: questions@FreeBSD.ORG, Chris Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG So to answer my own dumb question... I should put the script in /usr/bin or some other directory on the path? I don't really care what directory it's in, that was just the directory I happened to be working from. Maybe the AIX box had . in the path. Sounds like a bad idea to me. On 02-Jan-99 Matthew Hunt wrote: > On Sat, Jan 02, 1999 at 02:39:17PM -0500, Chris wrote: > >> Or, an easier approch would be to add . to your path, that will always >> make your current directory be in your path > > This is a bad idea due to security concerns, and is addressed in the > comp.unix.questions FAQ, under 2.13: > > http://www.faqs.org/faqs/unix-faq/faq/part2/ > > -- > Matthew Hunt * Inertia is a property of matter. > http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Chris Browning Date: 02-Jan-99 Time: 19:23:21 This message was sent by XFMail ---------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message