top | item 37754610

(no title)

orange-mentor | 2 years ago

One could write a very small custom binary in C/C++/Rust that runs the command, and then give that binary setuid permissions. That binary can simply run a subprocess, and nothing else.

discuss

order

blibble|2 years ago

you could call it "sudo"