From owner-freebsd-questions Wed Mar 10 23:47: 5 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 AE1951522A for ; Wed, 10 Mar 1999 23:46:34 -0800 (PST) (envelope-from ben@scientia.demon.co.uk) Received: from scientia.demon.co.uk (ident=ben) by scientia.demon.co.uk with local (Exim 2.12 #2) id 10KuEL-0000Iv-00; Thu, 11 Mar 1999 01:25:45 +0000 (envelope-from ben@scientia.demon.co.uk) Date: Thu, 11 Mar 1999 01:25:45 +0000 From: Ben Smithurst To: Kerberus Cc: freebsd-questions@FreeBSD.ORG Subject: Re: daily security check output Message-ID: <19990311012545.A1144@scientia.demon.co.uk> References: <199903102206.RAA02284@cc942873-a.ewndsr1.nj.home.com> <36E6A838.80121D10@inetu.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <36E6A838.80121D10@inetu.net> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kerberus wrote: > so if i had just placed the cgi on the system as a user then run > it...... say 3-4 days before update had run, then the locate command > would have failed....! Yes, but it won't exactly waste much time. If you're looking for a file, locate is much quicker, and if the file doesn't exist, then resort to find. And you can often find stuff without doing a full find from the root, /usr/local would be a good place to look for custom stuff, (esp. ports), etc. > and then only whereis or find would have accomplished the task ! correct. whereis probably wouldn't work, since CGI scripts aren't likely to be in a place where whereis looks. Oh, and your mail message format is terrible. First put the text you're replying to before what you write. Second, don't quote the whole message. Third, wrap lines at <80 characters. -- Ben Smithurst ben@scientia.demon.co.uk send a blank message to ben+pgp@scientia.demon.co.uk for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message