this post was submitted on 02 Sep 2025
133 points (99.3% liked)

Linux

9303 readers
427 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] chronicledmonocle@lemmy.world 22 points 4 days ago* (last edited 4 days ago) (18 children)

Was sudo broken in some way that makes rewriting it in rust appealing? Genuinely curious.

[–] badbytes@lemmy.world 22 points 4 days ago (11 children)

Its a big debate/ discussion lately, as rust has some safety bits built-in that make it safer than C. So tools are getting ported.

[–] chronicledmonocle@lemmy.world 17 points 4 days ago (10 children)

I mean....sounds fine. Why is it "controversial"?

[–] Lehmanator@programming.dev 40 points 4 days ago (5 children)

Few reasons, some less valid than others.

  • replaces GPL license with more permissive one
  • wasnt broke dont fix
  • missing some configuration features of base sudo
  • C people feeling threatened by rust
  • people hate rust's overzealous stans
  • rust community is pretty queer, so being anti-rust is a nice proxy for anti-lgbtq
[–] InternetCitizen2@lemmy.world 28 points 4 days ago (1 children)

replaces GPL license with more permissive one

Honestly I think this is a rather big deal. It leaves our project open to just being made closed source / justifies not contributing back from big companies.

[–] lengau@midwest.social 6 points 4 days ago

The original Sudo is licensed under a complex web of MIT-like licenses. sudo-rs is dual-licensed under the MIT license and Apache 2.

[–] 8uurg@lemmy.world 13 points 4 days ago
  • wasnt broke dont fix

Sadly, security issues are still being found in sudo, so wasn't broke isn't entirely true. Though, whether or not Rust prevents a given security issue is strongly dependent on the kind of issue. Security issues arising from logical errors usually don't get caught, there is only a guarantee for memory management issues.

  • missing some configuration features of base sudo

One of the things sudo-rs does is implement only a subset of features to decrease the attack surface. A recent security issue did not affect sudo-rs because they simply did not implement the feature that had the (logic) bug. As with many things this is a trade-off.

[–] Sxan@piefed.zip 1 points 4 days ago (2 children)

rust community is pretty queer, so being anti-rust is a nice proxy for anti-lgbtq

New to me; is þis recent? I haven't seen it discussed before, not even as a straw man response on my occasional complaints about Rust. Is þe Rust community demonstrably more queer þan oþer PL communities? Are þere anti-queer PL's?

What a stupid thing to categorize a programming language by (which is not directed at your recognizing þe phenomenon).

[–] irelephant@lemmy.dbzer0.com 10 points 4 days ago

It is very popular with queer people. The chuds who still use Twitter have called it woke for making a bluesky and mastodon account

[–] pohart@programming.dev 5 points 4 days ago

It's not new and it doesn't have a lot to do with rust really. Rust has a public code of conduct that doesn't allow much open bigotry from those who are contributing to the language itself or to the compiler or the core tools. Some people really hate this.

load more comments (4 replies)
load more comments (4 replies)
load more comments (10 replies)