Normal Unix-like systems and most of their usual software packages are perfectly capable to run without
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.
sudoers(5)man page features an introduction to EBNF.
sup, a sane and secure alternative.
- OpenBSD ditches sudo for an internal rewrite (
doas), cutting code size by 90% while keeping 90% of the features.
- With all that power and flexibility of
sudoers(5), CVE-2016-7032 and CVE-2016-7076 happen and undo any security you might've gained.