trifectatechfoundation/sudo-rs
View on GitHub ↗ ★ 4,499 Rust
A memory safe implementation of sudo and su.
21 mentions on Hacker News by 21 people: 4 stories, 17 comments · first 2023-04-26 · latest 2026-09-15
20082026
-
…itself as a drop in replacement. They seem pretty upfront that it isn't their goal. See this list: https://github.com/trifectatechfoundation/sudo-rs#difference...
comment by collinfunk · 2026-09-15 · in Ubuntu 26.10 completes transition to Rust-based coreutils -
I was bummed when I came across this: https://github.com/trifectatechfoundation/sudo-rs/issues/129...
comment by t0duf0du · 2026-09-15 · in Ubuntu 26.10 completes transition to Rust-based coreutils -
…for instance sudo-rs, it proclaimed loudly that it is memory safe, but its code has lots of unsafe. https://github.com/trifectatechfoundation/sudo-rs https://grep.app/search?f.repo=trifectatechfoundation%2Fsudo... And Miri is very popular…
comment by ceteia · 2026-02-19 · in Zero-day CSS: CVE-2026-2441 exists in the wild -
> access they shouldn't have It does, quotes from https://github.com/trifectatechfoundation/sudo-rs/security/a... below: > A highly-privileged user (able to run commands as other users, or as root, through sudo) who knows one password of…
comment by porridgeraisin · 2025-11-12 · in Multiple Security Issues in Rust-sudo-rs -
…is not supported, such as […] storing config in LDAP using sudoers.ldap, and cvtsudoers. * https://github.com/trifectatechfoundation/sudo-rs?tab=readme... Well that makes it useless for $WORK (for now), as we use LDAP as our central policy…
comment by throw0101b · 2025-06-23 · in New Linux udisks flaw lets attackers get root on major Linux distros -
…Rust implementation of sudo: https://www.phoronix.com/news/Ubuntu-25.10-sudo-rs-Default Repo here: https://github.com/trifectatechfoundation/sudo-rs It's permissively licensed, unfortunately. Wonder why. It's not a library. But it ought to…
comment by tormeh · 2025-06-23 · in New Linux udisks flaw lets attackers get root on major Linux distros -
A more interesting link is https://github.com/trifectatechfoundation/sudo-rs/issues?q=l... IMO. Glancing down that list, a lot of them aren't what I would personally view as major problems (ex. "rustup is inappropriate for security…
comment by yjftsjthsd-h · 2025-05-06 · in Memory-safe sudo to become the default in Ubuntu -
…it as a drop-in replacement when clearly features are still missing since a long time [1]. [1] https://github.com/trifectatechfoundation/sudo-rs/issues?pag...
comment by bArray · 2025-05-06 · in Memory-safe sudo to become the default in Ubuntu -
I am pretty sure it is around here somewhere: https://github.com/trifectatechfoundation/sudo-rs/issues . I apologize, I do not bookmark these issues, but maybe I should start doing that? In any case, you will find logic bugs which may…
comment by johnisgood · 2025-05-06 · in Memory-safe sudo to become the default in Ubuntu -
…a backdoor it wouldn't be automatically picked up and a commit history rewrite would also fail https://github.com/trifectatechfoundation/sudo-rs/blob/main/...
comment by estebank · 2025-05-06 · in Memory-safe sudo to become the default in Ubuntu -
▲ 1
Sudo-rs: A memory safe implementation of sudo and sustory by birdculture · 2024-12-29 · 0 comments
-
▲ 2
Sudo-rs – a memory safe implementation of sudo and sustory by chautumn · 2024-12-27 · 0 comments
-
…and with fewer bugs: https://www.memorysafety.org/blog/sudo-first-stable-release/ Source code: https://github.com/memorysafety/sudo-rs And if you are running Debian 13 (trixie) or later, or Ubuntu 24.04 (Noble Numbat) or later, you can…
comment by praseodym · 2024-05-01 · in Run0, a systemd based alternative to sudo, announced -
It seems like those changes are noted here: https://github.com/memorysafety/sudo-rs#differences-from-ori...
comment by fermuch · 2023-11-06 · in The first stable release of a memory safe sudo implementation -
…uses those features? Edit: Looks like their github readme outlines some of these limitations, https://github.com/memorysafety/sudo-rs#differences-from-ori...
comment by garblegarble · 2023-11-06 · in The first stable release of a memory safe sudo implementation -
…6370 16129 =============================================================================== [1]: https://github.com/memorysafety/sudo-rs/blob/60985b2f5f7ffa8...
comment by hermanradtke · 2023-06-28 · in Testing the memory safe Rust implementation of Sudo/Su -
And this is what that small list of dependencies pulls in: https://github.com/memorysafety/sudo-rs/blob/60985b2f5f7ffa8...
comment by bayindirh · 2023-06-28 · in Testing the memory safe Rust implementation of Sudo/Su -
…Rust 281 497624 497608 4 12 ---------------------------- ---- --- ------ ------ ---- ---- [0]: https://github.com/memorysafety/sudo-rs/blob/60985b2f5f7ffa8...
comment by quodlibetor · 2023-06-28 · in Testing the memory safe Rust implementation of Sudo/Su -
▲ 5
Way to improve security of sudo: make a daemon instead of setuid binastory by todsacerdoti · 2023-05-12 · 0 comments
-
▲ 9
sudo-rs: A memory safe implementation of sudo and sustory by voxadam · 2023-04-28 · 10 comments
-
If you read the README https://github.com/memorysafety/sudo-rs > Our current target is to build a drop-in replacement for most basic use cases of sudo. ... > Some parts of the original sudo are explicitly not in scope. Sudo has a large and…
comment by steveklabnik · 2023-04-26 · in Bringing Memory Safety to sudo and su