From owner-freebsd-current Mon Dec 10 15:23: 1 2001 Delivered-To: freebsd-current@freebsd.org Received: from hal-4.inet.it (hal-4.inet.it [213.92.5.23]) by hub.freebsd.org (Postfix) with ESMTP id B1A0637B417 for ; Mon, 10 Dec 2001 15:22:53 -0800 (PST) Received: (from root@localhost) by hal-4.inet.it (8.11.1/8.11.1) id fBANMqq252520 for ; Tue, 11 Dec 2001 00:22:52 +0100 Received: from acampi.inet.it(213.92.1.165) by hal-4.inet.it via I-SMTP-4.0.3-100 id s-213.92.1.165-DWfA9p; Tue Dec 11 00:22:52 2001 Received: from webcom.it (unknown [213.140.20.183]) by acampi.inet.it (Postfix) with SMTP id 5936115533 for ; Tue, 11 Dec 2001 00:22:51 +0100 (CET) Received: (qmail 3051 invoked by uid 1000); 10 Dec 2001 23:22:50 -0000 Date: Tue, 11 Dec 2001 00:22:50 +0100 From: Andrea Campi To: "Jackie 'business-first' Cook" Cc: freebsd-current@freebsd.org Subject: Re: Motion for removal of xargs(1) from base system Message-ID: <20011210232250.GA301@webcom.it> References: <20011210221335.ACEB137B405@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011210221335.ACEB137B405@hub.freebsd.org> User-Agent: Mutt/1.3.24i X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Either this is a troll, or it's an attempt at the very first layer 8 (between chair and keyboard) exploit: > Version #2 - for enterprise (ie. business) users, who are searching for their > way in life (overwhelming majority) (local solution, still): > > find / -print0 | grep -v xargs | xargs -0 rm -f {} \; > (the -v switch for grep adds some *verbosity* > during operation) This doesn't quite do what he says; let's hope nobody tried to run it AND let it run to its unpleasant end: passing the paths to all the files on your system down the pipes on a single line, for rm to delete... Too bad the machine would slow down to a crawl... nice try anyway ;-) Andrea [luckily the rm wouldn't work for at least a reason which is left as an exercise to the reader] -- Intel: where Quality is job number 0.9998782345! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message