39
submitted 2 days ago by dessalines@lemmy.ml to c/rust@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] drspod@lemmy.ml 19 points 2 days ago

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

[-] caseyweederman@lemmy.ca 2 points 1 day ago

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

[-] nous@programming.dev 4 points 1 day ago

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 1 points 8 hours 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.

this post was submitted on 13 Jun 2025
39 points (97.6% liked)

Rust Programming

8825 readers
30 users here now

founded 6 years ago
MODERATORS