this post was submitted on 12 Nov 2025
436 points (95.4% liked)

linuxmemes

28087 readers
783 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] ammonium@lemmy.world 7 points 1 week ago (1 children)

    Sudo is being actively developed and has several fairly recent CVEs, some of which are memory issues (at least recent compared to how old sudo is). Apart from being memory safe rust is also better at error handling than C.

    IMO best would be to reduce attack surface by using a memory safe language and also reducing complex features like OpenBSD's doas does.

    https://www.cvedetails.com/vulnerability-list/vendor_id-15714/Sudo-Project.html?page=1&order=3

    [–] mr_satan@lemmy.zip 1 points 1 week ago (1 children)

    Well that's the thing that I don't see communicated. Is it actively developed? Bug fixes doesn't count, it's maintenance not active development. If I'm just doing maintenance then there must be a lot of issues to warrant a rewrite, especially in a different language.

    Form what I keep seeing it looks like a rewrite for the sake of rewriting, which is at best misguided reasoning.

    I can see an argument that the cost of failure is very high with something like sudo, but I don't see it vocalized anywhere.

    [–] ammonium@lemmy.world 2 points 1 week ago (1 children)

    I would say yes is it developed, this is more than just big fixes : https://github.com/sudo-project/sudo/releases

    No huge changes of course, but the big CVE from July was only introduced 2 years ago.

    My biggest question is, why is something like sudo still developed and not finished and in maintenance mode?

    [–] mr_satan@lemmy.zip 1 points 1 week ago (1 children)

    Went through the releases quickly and it does look like maintenance work is being done more than anything.

    Last minor version update was in 2020 which is not that recent (although quite recent). All other releases since have mostly fixes. I've seen only a couple of things that were not Fixed something in the notes.

    Maybe our definitions of active development are different, but to me this does look like maintenance.

    [–] ammonium@lemmy.world 2 points 1 week ago

    Version numbers are meaningless. Yes it's mostly fixes, but in every release which doesn't have p in the version number there's at least two or three things which are not fixes. As late as 2023 one of those changes did introduce a local privilege escalation: https://www.wiz.io/vulnerability-database/cve/cve-2025-32463 which was undetected for two years. For a critical piece of software with the maturity of sudo, I call that pretty concerning.

    Here's an interesting report from Google about rust vs C++ in Android: https://security.googleblog.com/2025/11/rust-in-android-move-fast-fix-things.html?m=1