Ubuntu changed the implementation behind the sudo command in Ubuntu 25.10: sudo-rs became the default provider, and Ubuntu 26.04 LTS keeps that arrangement. Most ordinary interactive commands should continue to work, but sudo-rs is not fully compatible with classic sudo. The original implementation remains available as sudo.ws, and Ubuntu documents how to switch providers with update-alternatives.
What changed in Ubuntu 25.10 and 26.04
Ubuntu 25.10 (Questing Quokka) made the Rust-based sudo-rs the provider selected for the sudo command. Ubuntu 26.04 LTS retains it as the default. This is a provider change rather than a change to the command name most users type.
Ubuntu’s documentation says the majority of common use cases are supported and that the change should be invisible to most users. That statement does not promise complete command-line, policy, authentication, or logging parity with classic sudo.
| Ubuntu release | Default provider | Classic sudo availability | Version detail stated by Ubuntu |
|---|---|---|---|
| 25.10 | sudo-rs |
Available through .ws-suffixed binaries, including sudo.ws |
sudo-rs 0.2.8; classic sudo 1.9.17p2 |
| 26.04 LTS | sudo-rs |
sudo.ws |
The Ubuntu 26.04 manpage search result identifies sudo-rs 0.2.13-0ubuntu1.2 |
| Older releases | Not established here | Not established here | Do not assume the 25.10/26.04 default applies |
Why the binaries have different names
Ubuntu keeps the original sudo implementation alongside sudo-rs and renames the classic binaries with a .ws suffix. The directly callable classic command on the covered releases is therefore sudo.ws, while the alternatives system selects which implementation answers to the unqualified sudo name.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →#1 Best Overall
- Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
- Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
- Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
- Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
- 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.
What should continue to work
Normal interactive administration—running a package command, editing a protected file through a supported invocation, or starting a root shell using ordinary options—is the compatibility target Ubuntu describes. Existing users should not need to change every command simply because the implementation is now written in Rust.
Compatibility is not universal. Treat shell automation, unusual flags, complex policy files, central logging, replay, LDAP deployments, and narrowly scoped sudoedit rules as items to verify rather than assume.
Important compatibility differences
Authentication prompts can break Expect-style automation
Classic sudo.ws commonly displays a prompt such as [sudo] password for <USERNAME>. sudo-rs uses the authentication text supplied by PAM, which may be Password:, PIN:, or another method-specific string.
Rank #2
- 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
- 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
- Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
- 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
- What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.
An Expect script that waits for the old literal prompt can therefore time out even though authentication itself works. Ubuntu documents --prompt "" as a way to avoid matching the prompt in Expect-based automation. Test the exact installed version and PAM stack before deploying that change.
I/O logging and replay are not supported in this setup
Ubuntu’s documented differences state that I/O logging and sudoreplay are not supported. The associated sudo_logsrvd and sudo_sendlog components are also discontinued in this setup.
If your compliance process depends on recorded terminal sessions, replay, or a remote sudo log server, switching providers is not a cosmetic change. Review the audit design and confirm an alternative before changing a production host.
Rank #3
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
LDAP integration uses PAM instead of sudo-ldap
Ubuntu removed the sudo-ldap package. Administrators who need LDAP-backed authentication should configure LDAP authentication through PAM, following the authentication design for their Ubuntu release. Do not plan a migration around installing the removed package.
sudoers compatibility is a subset
The Ubuntu sudoers-rs manual describes its policy format as a syntax-compatible subset of the sudo-project format. Straightforward rules are the expected path, but complex files and less-common directives are migration items.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
- Validate every non-trivial directive against
man sudoers-rson the target release. - Check included files, command aliases, host and user specifications, run-as rules, and any advanced options used by your organization.
- Keep an administrative recovery path while testing policy changes.
How to check and change the selected provider
Ubuntu documents the alternatives commands below. Run them on the affected Ubuntu system and use the exact paths shown by the installed release.
Rank #4
- Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
- Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
- Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
- Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
- Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft
Choose interactively
sudo update-alternatives --config sudo
The alternatives menu shows the available providers and lets you select the implementation that should answer to sudo.
Select classic sudo non-interactively
sudo update-alternatives --set sudo /usr/bin/sudo.ws
This makes classic sudo the selected provider while leaving sudo-rs installed.
Select sudo-rs again
sudo update-alternatives --set sudo /usr/lib/cargo/bin/sudo
Ubuntu does not recommend switching back to sudo.ws as a general policy, but documents it for cases where a required feature has not yet been migrated or validated.
Free tools Windows power users keep installed
One-click scans. No signup required.
Best Value
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
Safer production procedure
- Identify automation that matches authentication prompts, invokes
sudoedit, or depends on session recording and replay. - Review policy files with
man sudoers-rsand test the options supported by the installedsudo-rs --help. - Test PAM authentication, command authorization, logging expectations, and recovery access on a non-production host.
- Keep an existing administrative session available while changing the provider on a server.
- After validation, select the provider with
update-alternativesand repeat the checks from a fresh login.
Security update relevant to Ubuntu 26.04
Ubuntu Security Notice USN-8708-1, published September 1, 2026, describes a time-of-check/time-of-use issue in sudo-rs‘s sudoedit handling. The described attack required a local user who already had permission to use sudoedit on specific files; under the affected fine-grained configuration, that user could potentially place files in arbitrary directories and escalate privileges. Ubuntu says the default configuration was not affected.
For Ubuntu 26.04 LTS, the notice lists sudo-rs 0.2.13-0ubuntu1.2 as the fixed package version and says a standard system update applies the necessary changes. The notice is release- and configuration-specific; it is not evidence that every sudo-rs installation is vulnerable. Check the current notice and the installed package state for your own release.
Choosing between sudo-rs and sudo.ws
| Area | sudo-rs | sudo.ws (classic sudo) | What administrators should verify |
|---|---|---|---|
| Everyday commands | Ubuntu’s default on 25.10 and 26.04; common use cases are expected to work | Original implementation retained under a .ws name |
Commands and flags used by local tooling |
| Authentication prompt | Text comes from PAM, such as Password: or PIN: |
Often uses the familiar [sudo] password for ... form |
Expect scripts and other prompt-sensitive automation |
| Policy files | Syntax-compatible subset documented by sudoers-rs |
Classic sudo policy behavior | Advanced directives and included policy files |
| I/O logging and replay | Not supported in Ubuntu’s documented setup | Classic facilities are available where configured | Compliance, sudoreplay, sudo_logsrvd, and sudo_sendlog dependencies |
| LDAP | Use LDAP authentication through PAM | The Ubuntu sudo-ldap package has been removed |
Whether the deployment relies on PAM or a retired package path |
| Maintenance | Use the Ubuntu package and current release security updates | Available as sudo.ws on the covered releases |
Fixed versions and notices for the exact Ubuntu release |
What to verify before a fleet migration
- Release scope: Confirm whether the host is Ubuntu 25.10 or 26.04 LTS; the default change is not established here for every earlier or future release.
- Installed documentation: Read
sudo-rs --helpandman sudoers-rs. Ubuntu warns that its differences list can lag active development or omit changes. - Authentication: Test the real PAM modules, including any PIN, smart-card, or multi-factor prompt text.
- Automation: Search for literal prompt matching and assumptions about command output or option support.
- Authorization: Exercise representative allow and deny rules, especially complex or narrowly scoped
sudoeditpermissions. - Audit: Determine whether the loss of I/O logging and replay changes your compliance controls.
- Recovery: Preserve console or out-of-band access while changing the alternatives selection.
- Updates: Apply the current Ubuntu security updates and verify package versions after patching.
Bottom line for Ubuntu administrators
On Ubuntu 25.10 and 26.04 LTS, sudo-rs is the normal sudo provider, and most everyday users can continue working without changes. The migration matters when you depend on exact authentication prompts, I/O recording and replay, LDAP-specific packaging, advanced sudoers behavior, or finely scoped sudoedit rules. Validate those dependencies against the installed help and manpages, patch Ubuntu 26.04 systems to at least the fixed package version named in USN-8708-1, and use sudo.ws only when a tested compatibility requirement justifies selecting the classic provider.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

