From owner-freebsd-hackers@FreeBSD.ORG Sun Oct 3 02:11:32 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F74716A4CE for ; Sun, 3 Oct 2004 02:11:32 +0000 (GMT) Received: from mxb.saturn-tech.com (mxb.saturn-tech.com [207.229.19.99]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5921343D39 for ; Sun, 3 Oct 2004 02:11:32 +0000 (GMT) (envelope-from drussell@saturn-tech.com) Received: from mxb.saturn-tech.com (localhost [127.0.0.1]) by mxb.saturn-tech.com (8.12.3/8.12.3) with ESMTP id i932EIKt090304; Sat, 2 Oct 2004 20:14:18 -0600 (MDT) (envelope-from drussell@saturn-tech.com) Received: from localhost (drussell@localhost)i932EIZC090301; Sat, 2 Oct 2004 20:14:18 -0600 (MDT) (envelope-from drussell@saturn-tech.com) X-Authentication-Warning: mxb.saturn-tech.com: drussell owned process doing -bs Date: Sat, 2 Oct 2004 20:14:18 -0600 (MDT) From: Doug Russell To: Thomas David Rivers In-Reply-To: <200410030154.i931sR348272@lakes.dignus.com> Message-ID: <20041002201312.E90087-100000@mxb.saturn-tech.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org Subject: Re: Protection from the dreaded "rm -fr /" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Oct 2004 02:11:32 -0000 On Sat, 2 Oct 2004, Thomas David Rivers wrote: > If I'm remembering correctly - the historical way to > do this is to alias the "rm" command to something that > else that checks the arguments and complains appropriately > (and then executes /bin/rm.) Typically with just a shell This would be a much, much better approach. Later......