Hacker GitHub

← All repos

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

Mentions per year 21 mentions · busiest year 2023 (8)
20082026
  1. …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...
  2. I was bummed when I came across this: https://github.com/trifectatechfoundation/sudo-rs/issues/129...
  3. …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…
  4. > 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
  5. …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…
  6. …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…
  7. 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
  8. …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...
  9. 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…
  10. …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/...
  11. …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…
  12. It seems like those changes are noted here: https://github.com/memorysafety/sudo-rs#differences-from-ori...
  13. …uses those features? Edit: Looks like their github readme outlines some of these limitations, https://github.com/memorysafety/sudo-rs#differences-from-ori...
  14. …6370 16129 =============================================================================== [1]: https://github.com/memorysafety/sudo-rs/blob/60985b2f5f7ffa8...
  15. And this is what that small list of dependencies pulls in: https://github.com/memorysafety/sudo-rs/blob/60985b2f5f7ffa8...
  16. …Rust 281 497624 497608 4 12 ---------------------------- ---- --- ------ ------ ---- ---- [0]: https://github.com/memorysafety/sudo-rs/blob/60985b2f5f7ffa8...
  17. 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