News for hackers. Stuff that matters.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by wavemode on Friday November 06, 2026 @07:22PM (#50400349)
I don't understand that logic. If it's fine for sudo-rs to have different behavior from sudo, why can't it also just have a different executable name? So that people who are expecting traditional sudo will get "executable not found" instead of having subtle silent problems.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by simon_void on Saturday November 07, 2026 @06:50AM (#50403729)
according to https://itsfoss.com/news/ubuntu-25-10-sudo-rs/:

"Canonical's Jon Seager mentions that the sudo-rs developers are collaborating with Todd Miller, the original maintainer of sudo, and to think of sudo-rs as a "handshake across generations of secure systems".

He also added that sudo-rs is not expected to bring over all the features of sudo, as the devs are taking a "less is more" approach, excluding features that are too niche or outdated."

So sudo.rs drops some features because "less is more", but it's still called "sudo" because by working together with the original maintainer they capture the spirit of the original, a "sudo 2.0" so to speak.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by throw0101c on Saturday November 07, 2026 @09:37AM (#50404916)
> So sudo.rs drops some features because "less is more", but it's still called "sudo" because by working together with the original maintainer they capture the spirit of the original, a "sudo 2.0" so to speak.

Except when the change of features are seemingly arbitrary. As the article points out when it comes to regexes, the following is not allowed:

    /usr/sbin/exim -bp[acru]
but the following would be

    /usr/sbin/exim *
So, as the author notes:

> The Rust sudo has apparently opted to keep the single most dangerous wildcard while disallowing all of the wildcards that allow one to be narrow and specific about what you're allowing […]

If the goal is a safer system: WTF?

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by wavemode on Saturday November 07, 2026 @12:19PM (#50406223)
[delayed]
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by 1718627440 on Sunday November 08, 2026 @11:00AM (#50414356)
Interfaces are not supposed to change while keeping "the spirit". I don't care if you keep "the spirit" or not, if you change an interface, please change the name or at least the version.