Stop running random things with sudo

Normal Unix-like systems and most of their usual software packages are perfectly capable to run without sudo.

Anecdotal proof: my laptop didn't have sudo installed on it for the past few years.

What you're doing when running random things with sudo, you're not only giving the programs overly broad permissions - you're probably also messing up permissions of any created files for other, non-privileged programs, that would otherwise run just fine.

If your program directly depends on sudo to perform its most basic function - it is broken.


See this as plaintext. Get the permalink. Check out related. Go home.