Sudo is a Unix command that lets permitted users run individual commands with another user's privileges, most commonly as root. It is...
Pros
- More granular command, user, host, and environment policies than su
- Widely available across Linux, BSD, and Unix systems
- Supports extensive logging and audit integration
Cons
- More complex to configure correctly than doas
- Misconfigured sudoers rules can create serious privilege-escalation risks
- Requires authentication by default, unlike some service-oriented alternatives
Free, open source