Protection from the dreaded "rm -fr /"

Lee Harr missive at hotmail.com
Sat Oct 2 09:54:03 PDT 2004


>John Beck, who works for Sun, has posted an entry in his blog yesterday
>about "rm -fr /" protection, which I liked a lot:
>http://blogs.sun.com/roller/page/jbeck/20041001#rm_rf_protection
>
>His idea was remarkably simple, so I went ahead and wrote this patch for
>rm(1) of FreeBSD:
>


How about:

chflags sunlnk /
?

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. 
http://join.msn.com/?page=features/virus



More information about the freebsd-hackers mailing list