Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
orange-mentor
· 3y ago · 0 comments
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.
Comments
[–]
blibble
3y ago
you could call it "sudo"