←back to thread

466 points CoolCold | 1 comments | | HN request time: 0s | 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 #
TachyonicBytes ◴[] No.40217679[source]
It's the usual way to make changes to a privileged file in Emacs; ssh to localhost with root.
replies(3): >>40218108 #>>40218515 #>>40219077 #
1. terinjokes ◴[] No.40218108[source]
'sudo' and 'doas' are inline connection methods in TRAMP, so no need for SSH to localhost. Curious that systemd-run isn't already supported, but I imagine that will quickly change.