News for hackers. Stuff that matters.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by randomblock1 on Friday November 06, 2026 @05:47PM (#50399538)
This is trivial to fix, at least for you.

  %corestaff ALL=NOPASSWD: /usr/bin/mailq "", \
                           /usr/sbin/exim -bp, \
                           /usr/sbin/exim -bpa, \
                           /usr/sbin/exim -bpc, \
                           /usr/sbin/exim -bpr, \
                           /usr/sbin/exim -bpu
That being said there definitely should be an automated way to check for incompatibilities between normal and rust sudo.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by foxhill on Friday November 06, 2026 @05:50PM (#50399565)
forgive me if i’m wrong. i don’t think you’ve ever had to administer more than a handful of machines. your “fix” is irrelevant.

> That being said there definitely should be an automated way to check for incompatibilities between normal and rust sudo.

yes. it’s called the bare minimum.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by cyberax on Friday November 06, 2026 @05:53PM (#50399592)
If you're using `sudo` for something beyond trivial `reboot`, you're doing something VERY wrong.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by unrented7977 on Friday November 06, 2026 @06:05PM (#50399709)
Like.... apt-get?
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by cyberax on Friday November 06, 2026 @06:22PM (#50399873)
So you want users to be able to install any package? So that the attack surface is now literally all the Debian archive?

Yeah, no.

You either use `sudo` when you want full root access or for something completely trivial.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by BHSPitMonkey on Friday November 06, 2026 @06:37PM (#50399993)
My sudoers is set up to let me run update and upgrade (with no args) without a challenge, but not install.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by cyberax on Friday November 06, 2026 @08:59PM (#50400918)
I'm pretty sure I can b0rk the system by interrupting the upgrade in an inconsistent state. Or maybe inject some fun environment variables into the `apt-get` context. And I think you can launch the shell during conflict resolution for conffiles, giving you instant full access to the whole system?

A more robust design is to have a systemd one-shot unit that users can activate (via a trigger file or sudo).

So my point still stands and your example illustrates it perfectly. Either you use `sudo` for full root access or for something entirely trivial.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by zenoprax on Friday November 06, 2026 @06:26PM (#50399898)
`sudo apt install my-custom-backdoor-script.deb`

With NOPASSWD you would also invite someone pulling a `.deb` via `curl` as part of a supply chain attack in a some non-descript NPM package via a git hook or something.

Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by dbt00 on Friday November 06, 2026 @06:05PM (#50399710)
If you're not in the user community of a tool, having an opinion on whether or not the replacement should work doesn't seem like it should matter to you at all.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by cyberax on Friday November 06, 2026 @06:20PM (#50399861)
The complexity of tools and the associated danger absolutely matters.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by baggy_trough on Friday November 06, 2026 @06:07PM (#50399737)
What are you doing wrong?
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by 9dev on Friday November 06, 2026 @06:33PM (#50399965)
I do manage more than a handful of machines, and that means using automation tools and IaC as much as possible, while avoiding humans using shells as much as possible. I’m struggling to enumerate a lot of use cases for a bespoke sudo configuration that shouldn’t be a proper setup.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by dangistan202611 on Friday November 06, 2026 @06:49PM (#50400098)
Before you know it, you will be needing a workaround for every replacement tool you use in Ubuntu. This is what makes it unacceptable.
Re:The Ubuntu 26.04 Rust sudo is not compatible with standar... by throw0101c on Saturday November 07, 2026 @09:48AM (#50405013)
> This is trivial to fix, at least for you.

Or one could just install (real) sudo instead of (fake) sudo.

Installing real sudo is something I will have to do when (if) we move to 26.04 because we need LDAP functionality, and fake sudo does not provide that.