rm -rf / sucks

Well, I spend the weekend with some friends and during our lulz times we decided to rm a box. I don’t usually rm boxes or participating in such acts, but we knew the admin and it would be definitely fun, so… I haven’t rm’d any box for quite some time and after getting local root using one common exploit I typed:

rm -rf /

I was kind of surprised when I realized that it didn’t work. Of course, we could do something more fun like:

cat /dev/urandom > /dev/hda

Anyway, we did this:

cd / && rm -rf *

It worked, but I was curious who was the gay developer that did this to rm :(

Here is some code found at rm.c from the latest release of GNU core-utils:

Which is way more gay and ugly and it seems they no longer have “preserve-root” disabled by default. There are even more retarded users that report this feature as a bug. I hate you. You take all the fun out of it and you’re making things worst since from now on I’ll be issuing something like this (you know… or dd(1), shred(1) etc.):

Nanny code to open source is the same use as a nanny state to a free country…that is, none at all. I can understand not providing a GUI via Gnome to rm -rf /, but to disable it in the code? Silly, to me.