Adopting sudo-rs By Default in Ubuntu 25.10

zebra3@zebra3:~$ sudo -V
sudo-rs 0.2.4
This is in Plucky with the alias.

sudo-rs -V In Questing
sudo-rs 0.2.5
Just for you FYI

What about systemd’s run0?

Given that ubuntu adopts most of systemd, does run0 make more sense, or is it different enough from sudo that it does not make a good replacement? was run0 considered or was a run0 wrapper considered?

That’s an excellent point. I think in that category the using run0 would be different project and problem to be solved.

sudo-rs is an easy drop-in replacement, while run0 is different approach to elevating privileges.

is there any plan for a summary of exactly what is different? i’d love to see a discourse post with more detail on what this means. a high level for what features are missing, which are being prioritized for support first, and any changes in flags for items that do have feature parity would be extremely helpful.

1 Like

Heya! Just wanted to share our view on this from Cockpit’s POV. sudo-rs is not a drop-in replacement for sudo and instead is more of an alternative product that is sudo-like. It feels very weird to change a core package with something that hasn’t existed for as long as sudo has.

Cockpit currently doesn’t work in Ubuntu 25.10 due to sudo-rs not supporting --askpass. sudo-rs is also missing a lot of options at the moment which will I’m sure breaks more than just our package.

As sudo has had these features forever, this is a huge breaking change given that features are actively removed while keeping the same name. If sudo-rs is gonna be implemented, can we call it something else and keep sudo as default?

Our current solution we offer people who use Cockpit will then be to just replace sudo-rs with sudo, which isn’t ideal and is quite unnecessary. We’re taking a look at run0 too and whatever else but sudo has existed for such a long time and the features have been available since forever.

I’d love if this could be re-evaluated and maybe postponed until it reaches feature-parity.

4 Likes

Hello, I wrote an update on the progress Sudo-rs is now default for Questing Quokka.

Hey

That’s a little unfortunate. I guess for now, the cockpit package could be adjusted to depend on sudo-ws, which would allow apt to solve this automatically for Cockpit users.

Nonetheless, I found an existing issue and have linked your comment for the maintainers to take a look at! Add support for `-A` (askpass) commandline switch Ā· Issue #1249 Ā· trifectatechfoundation/sudo-rs Ā· GitHub

Cheers
Jon

3 Likes

A simple table (matrix) chart on here would do wonders for people’s understanding of similarities and differences.