Protection from the dreaded "rm -fr /"

Doug Russell drussell at saturn-tech.com
Sat Oct 2 19:11:32 PDT 2004


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>



More information about the freebsd-hackers mailing list