This article spotlights alternative tools to sudo.

The software featured here is free and open source. All tools provide a command-line interface (CLI).
| Alternatives to sudo | |
|---|---|
| sudo-rs | Memory safe implementation of sudo and su |
| doas | Execute commands as another user |
| pkexec | Execute a command as another user |
| su | Run a command with substitute user and group ID |
| please | Polite regex-first sudo alternative |
| dzdo | Execute commands with the privileges of another user |
| asroot | Simpler alternative to sudo and doas |
| gasroot | Run a process as the root user |
| syca | Minimal sudo-like privilege elevation tool |
Have we missed any open source alternatives to sudo? Please let us know!
All the CLI tools in this series.
| Alternatives to CLI tools |
|---|
| age // awk // bc // cal // cat // cd // chmod // cksum // cloc // cmp // compress // cp // cron // curl // cut // date // dd // df // diff // dig // du // fdisk // file // find // free // ftp // grep // gzip // hexdump // history // jq // kill // less // locate // ls // lsof // make // man // more // mv / ping // ps // psql // rename // rm // sed // split // ssh // stow // strings // sudo // sysctl // tail // talk // tar // telnet // time // top // touch // traceroute // tree // uname // uniq // uptime // vi // watch // Wget // who // whois // xargs |
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.
Add please, a daft name but a useful Rust alternative.
Thanks Otto, we’ve now added please.