Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Oct 2004 20:14:18 -0600 (MDT)
From:      Doug Russell <drussell@saturn-tech.com>
To:        Thomas David Rivers <rivers@dignus.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Protection from the dreaded "rm -fr /"
Message-ID:  <20041002201312.E90087-100000@mxb.saturn-tech.com>
In-Reply-To: <200410030154.i931sR348272@lakes.dignus.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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......						<Doug>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041002201312.E90087-100000>