←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. lanstin ◴[] No.40219077[source]
I like to have one of my tmux windows be a sudo session with emacs running as root and mostly used to run emerge world or apt update etc. also a window tailing all the logs. I haven’t been on a machine where more than one admin was logged in at the same time in quite some time.