this post was submitted on 13 Jun 2025
69 points (97.3% liked)
Rust
7087 readers
20 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
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
view the rest of the comments
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.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?
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.