Ghostboard pixel

Ubuntu 25.10 is Switching to Rust-based Sudo

The upcoming Ubuntu release will use sudo-rs instead of sudo.

sudo-rs in ubuntu 25.10, the illustration shows a terminal window with sudo-rs written in it, and an orange crab holding the rust logo

A few weeks ago, we got the first interim release of Ubuntu for 2025. The next one, Ubuntu 25.10, is due to come out in October, which is expected to offer new refinements that further improve the desktop experience on one of the most popular Linux distributions around.

Canonical has set out to "purposefully oxidize Ubuntu", by introducing Rust-based alternatives to existing components like Sudo, Coreutils, Findutils, and Diffutils with the help of a new command-line utility, oxidizr.

Now, they have announced that the upcoming Ubuntu 25.10 release will be moving to a Rust-based alternative of sudo.

sudo-rs in Ubuntu 25.10: What to Expect?

Replacing sudo is sudo-rs, a Rust-based, memory-safe implementation of sudo and su that aims to get rid of memory safety vulnerabilities while improving the security of privilege escalation on Linux.

To put it simply, sudo-rs is a new, safer version of the classic sudo command, which you have most likely used to execute commands with elevated permissions to install or remove new packages on your Linux-equipped computer.

Some notable benefits of sudo-rs include:

  • A modern codebase that makes it easy to maintain.
  • Improved error handling with concise error messaging.
  • Focus on long-term maintenance and future improvements.
  • Better security thanks to the use of a memory-safe language.

If you prefer sudo, then don't worry. It will still be around for the foreseeable future; it is just that now, sudo-rs is going to become the default mechanism to handle privilege escalation on Ubuntu.

I checked out how sudo-rs ran on Ubuntu 24.04 LTS, and it handled common commands like apt update and apt upgrade without any issues, updating the system without any issues.

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.

This is the future, at least for Ubuntu. It remains to be seen whether other popular Linux distributions like Debian, Fedora, and OpenSUSE switch to sudo-rs in the coming months.

Suggested Read 📖

7 Ways to Tweak Sudo Command in Linux
Unleash the power of sudo with these tips 💪
🎗️
Here's why you should opt for It's FOSS Plus Membership:

- Even the biggest players in the Linux world don't care about desktop Linux users. We do.
- We don't put informational content behind paywall. Your support keeps it open for everyone. Think of it like 'pay it forward'.
- Don't like ads? With the Plus membership, you get an ad-free reading experience.
- When millions of AI-generated content is being published daily, you read and learn from real human Linux users.
- It costs just $2 a month, less than the cost of your favorite burger.

Become a Plus Member today and join over 300 people in supporting our work.

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to It's FOSS News.

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.