this post was submitted on 13 Jun 2025
41 points (95.6% liked)

Rust Programming

8843 readers
2 users here now

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] mina86@lemmy.wtf 6 points 1 week ago (1 children)
[–] drspod@lemmy.ml 19 points 1 week ago (1 children)

No user should notice. If it acts differently then that's a regression.

[–] caseyweederman@lemmy.ca 3 points 1 week ago (1 children)

It looks like it's explicitly not a 1:1 replacement

[–] nous@programming.dev 5 points 1 week ago (1 children)

It is not a full replacement - but they are aiming for

Our current target is to build a drop-in replacement for all common use cases of sudo.

They are dropping support for some of the older/niche features/settings and now ignore some of the config you used to be able to do.

Some parts of the original sudo are explicitly not in scope. Sudo has a large and rich history and some of the features available in the original sudo implementation are largely unused or only available for legacy platforms. In order to determine which features make it we both consider whether the feature is relevant for modern systems, and whether it will receive at very least decent usage. Finally, of course, a feature should not compromise the safety of the whole program.

But generally for all common use cases it should just be a drop in replacement.

[–] caseyweederman@lemmy.ca 2 points 6 days ago

sudo-rs supports less functionality than sudo. Some of this is by design.
i.e. not 1:1 replacement.
My use cases probably won't be affected, but this will break things for some people.