Protection from the dreaded "rm -fr /"
Mark Dixon
mark at markdnet.demon.co.uk
Sun Oct 3 03:44:39 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
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
> pretty
> 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
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iD8DBQFBX9ayLqgJ90OcaiARAu0pAKDv9Hc6bQl9xi8N5OOXIaG3o6zzjgCfeC3G
60/slkjUAZ1+bALuUVT0GJQ=
=LCcS
-----END PGP SIGNATURE-----
More information about the freebsd-current
mailing list