Protection from the dreaded "rm -fr /"
mark at markdnet.demon.co.uk
Sun Oct 3 03:44:39 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
On 2 Oct 2004, at 09:34, Michael Reifenberger wrote:
> This does only help for the obvious case of '/' but not for the
> './' and '../' or '../../' ... accidents.
> Furthermore does it prevent root from doing `rm -rf /` which is a
> legal operation for root since he knows what he is doing.
> This is UNIX, not Windows.
I agree, this is not a route we want to go down. root should be able to
do whatever they want, no questions asked. If you put in protections to
prevent root doing 'silly' things, it will simply encourage admins to
be root when they probably shouldn't
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
-----END PGP SIGNATURE-----
More information about the freebsd-current