Comment on Emacs vs. Vim 2026: 24.3% vs. 8% Usage, 20x Memory GapparentComments−KetoManx6412dHow do you escalate up from your user to make changes to root owned files? Or do you ssh in as root?−disgruntledphd212dWhen I used to do this, I bound 'sudo-find-file to a key, then called that to re-open as root.I suspect that this may be an example in the tramp docs, as I definitely wasn't knowledgeable enough to figure it out for myself.−Pay089dI tend to ssh in as root, but TRAMP also supports escalating with su, sudo, or sudoedit (or doas).
Comments
How do you escalate up from your user to make changes to root owned files? Or do you ssh in as root?
When I used to do this, I bound 'sudo-find-file to a key, then called that to re-open as root.
I suspect that this may be an example in the tramp docs, as I definitely wasn't knowledgeable enough to figure it out for myself.
I tend to ssh in as root, but TRAMP also supports escalating with su, sudo, or sudoedit (or doas).