you are viewing a single comment's thread
view the rest of the comments
[–] 5 points 2 years ago

Because you might accidentally do something which breaks the system, or you might run a program which does something malicious without your knowledge.

By gating dangerous (or protected for any other reason) commands behind sudo, you create a barrier which is difficult to accidentally cross

  • source
  • parent