5

After going through this question I'm quite scared!

It's not that I don't want to use sudo rm command, but I want to inhibit the execution of the sudo rm -rf --no-preserve-root / command. If this command can ruin a motherboard, Why does it even exist ? or Why should it even exist ?

rohith
  • 1,450

1 Answers1

10

Welcome to Security Whack-A-Mole, the game where you try to enumerate ALL the ways you can get hurt, and try to wrap each one in bubble wrap. You can never win.

Rather, learn to use Unix/Linux tools, understand what your system does, and don't run scripts (or anything) you don't understand (that comes from an untrusted-for-system-upgrades source).

Your question is equivalent to "I can shoot myself in the foot, thusly. Why don't guns not automatically deflect their aim away from me?"

waltinator
  • 37,856