this post was submitted on 14 Jun 2024
78 points (93.3% liked)

Linux

8070 readers
37 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] tal@lemmy.today 11 points 4 months ago* (last edited 4 months ago)

Poettering in Mastodon thread:

sudo has serious problems though. It's a relatively large SUID binary, i.e. privileged code that unprivileged users can invoke from their own context. It has a complicating configuration language, loadable plugins (ldap!), hostname matches and so on and so on.

Okay, fine. So surely he's going to make a single tool that does one thing in an isolated box that doesn't pull in any unnecessary functionality.

Poettering a few posts down:

But enough about all that security blabla. The tool is also a lot more fun to use than sudo. For example, by default it will tint your terminal background in a reddish tone while you are operating with elevated privileges.

This is so Poettering. I don't want a privilege-escalation tool altering the display. Why in God's name is this not in the shell? What's going to happen on terminals that can't handle colors? Are you going to deal with them correctly? Is your "small" tool now going to be handling terminfo?

Every time that guy sees something, he thinks "let's just rewrite everything from scratch, break the existing tool boundaries, and other people will fix the fallout".