From owner-freebsd-questions Sun Aug 8 18:47:11 1999 Delivered-To: freebsd-questions@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 2F69514C0D for ; Sun, 8 Aug 1999 18:47:05 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from lithium.scientia.demon.co.uk ([192.168.2.2] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.024 #3) id 11De1n-0002au-00; Mon, 09 Aug 1999 02:15:04 +0100 Received: (from ben) by lithium.scientia.demon.co.uk (Exim 3.024 #3) id 11De1m-0001dF-00; Mon, 09 Aug 1999 02:15:02 +0100 Date: Mon, 9 Aug 1999 02:15:02 +0100 From: Ben Smithurst To: Abbas Karbassian x7148 Cc: dj_elvis@bigpond.com, freebsd-questions@freebsd.org Subject: Re: running a.out Message-ID: <19990809021501.A6257@lithium.scientia.demon.co.uk> References: <199908082145.WAA27655@serv10.yp.development> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: <199908082145.WAA27655@serv10.yp.development> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Abbas Karbassian x7148 wrote: > add the followings > > > set path = (. and the rest of you path) Do not do this. If you must have "." in your path, put it last: set path = (the rest of your path and .) So if you type "ls" in, say, "/tmp", you don't run a program another user could have prepared which actually runs "rm -rf $HOME". Even then, you could still mis-type a command (e.g. I've been known to mistype "ps ax" as "psa x"), and you could run someone else's program. I'd recommend you just don't have "." in your path, you'll soon get used to typing "./" before commands. -- Ben Smithurst | PGP: 0x99392F7D ben@scientia.demon.co.uk | key available from keyservers and | ben+pgp@scientia.demon.co.uk To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message