Protection from the dreaded "rm -fr /"
M. Warner Losh
imp at bsdimp.com
Sat Oct 2 18:29:22 PDT 2004
In message: <20041002165155.GP35869 at seekingfire.com>
Tillman Hodgson <tillman at seekingfire.com> writes:
: On Sat, Oct 02, 2004 at 10:42:16AM -0500, Sean Farley wrote:
: > Why not default on? root will not run 'rm -rf /' on purpose very often.
: > Once will be enough. :) Also, when and why would someone want to do
: > this?
:
: Exactly. Who would expect `rm -rf /` to actually succeed? It's not only
: dangerous, it doesn't work in a useful way ;-)
I would. I would expect it to work in a chroot I no longer wanted,
for example.
Warner
More information about the freebsd-hackers
mailing list