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

[email protected]

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
[–] [email protected] 18 points 1 week 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.

[–] [email protected] 10 points 1 week 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?

[–] [email protected] 10 points 1 week ago (1 children)

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

[–] [email protected] 5 points 1 week ago

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)