←back to thread

466 points CoolCold | 1 comments | | HN request time: 0.391s | source
Show context
kevincox ◴[] No.40212503[source]
> One could say, "run0" is closer to behaviour of "ssh" than to "sudo", in many ways.

This is an interesting offhand comment. You could implement a very similar tool by SSHing to localhost.

replies(5): >>40214944 #>>40215277 #>>40215636 #>>40217356 #>>40217679 #
1. yegle ◴[] No.40215636[source]
In my previous job, we set up a privileged account on a server with shell set to `git-shell`, leave some shell scripts in $HOME, so that we can do:

> ssh user@privileged-commands ./do-something