this post was submitted on 13 Jun 2025
69 points (96.0% liked)

Rust

7165 readers
28 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] trevor@lemmy.blahaj.zone 18 points 1 month ago (9 children)

Rare Canonical W. The only thing I miss from the original sudo is sudoedit, but I'm pretty sure that's on the Rust implementation's TODO list.

[–] sugar_in_your_tea@sh.itjust.works 10 points 1 month ago (6 children)

They've got a few months to get it done, and it shouldn't be that hard, no? Just exec EDITOR as a child process, no?

[–] ethancedwards8@programming.dev 10 points 1 month ago (1 children)

It also does input validation to ensure one doesn’t break the sudo file.

Sure. I guess it would depend on how complex that is, but surely the sudo command already does validations, so it would just need to have the editor write to a temporary file (which is a copy of the official one) and write once it's validated, right?

It sounds doable in a few months.

load more comments (4 replies)
load more comments (6 replies)