Sudo
GitHub Blog Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Sudo Alternatives

Of course, Sudo isn’t the only game in town. I won’t comment on these other options as I haven’t spent much time working with them (and I’d probably be a bit biased). If you would like to add to this list, please send mail to sudo@sudo.ws.

Open Source Sudo Alternatives

  • sudo-rs is a safety oriented and memory safe implementation of sudo and su written in Rust.

  • The OpenBSD doas command is similar to sudo and has been ported to other systems.

  • RootAsRole is a memory-safe and security-oriented alternative to the sudo and su commands that leverages Linux capabilities and the RBAC (Role-Based Access Control) model.

  • ssu

  • su1

  • op (originally shipped with ConvexOS, this is a free version based on Tom Christiansen’s paper)

System-specific Sudo Alternatives

  • The Solaris pfexec command can be used to run commands with extra privileges, as determined by the security profile.

  • AIX has support for Role-Based Access Control (RBAC) that can be used to assign fine-grained privileges to a user.

  • HP-UX has a restricted version of the sam system administration tool that allows non-root users to perform specific tasks.

Commercial Alternatives

Sudo-like utilities for Windows