Ubuntu 25.10 will replace the traditional sudo command with sudo-rs, a Rust-based equivalent developed by Trifecta Tech Foundation. The new implementation leverages Rust's memory safety guarantees to eliminate vulnerabilities common in C-based software, including null pointer dereferences, use-after-free errors, and data races. While sudo-rs is designed as a near drop-in replacement, some less secure features like LDAP distribution of sudoers files won't be supported. Users can currently install sudo-rs alongside traditional sudo for testing, and Canonical plans to keep the original sudo available in archive repositories for those who prefer to roll back.
Table of contents
Rust’s Safety GuaranteesInstalling and Using sudo-rsIf You Fear Change, All Is Not Lost1 Comment
Sort: