[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp sudo or not sudo on remote server
From: |
Michael Albinus |
Subject: |
Re: tramp sudo or not sudo on remote server |
Date: |
Sun, 28 Aug 2011 19:51:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Eric Abrahamsen <eric@ericabrahamsen.net> writes:
Hi,
> The tramp manual explains how to access files as root on a remote
> server, with a two-jump system, but there doesn't seem to be any way to
> do this selectively: if I define a proxy, it seems to have me as root
> for all files on that server.
>
> Is there anyway to define two different methods for the same server, one
> that operates as my normal user and one that does a second jump to work
> as root?
There is no need to apply sudo for a normal user, you could always
access via ssh like "/ssh:user@host:". This does not interfere with your
proxy settings for root.
> Thanks!
> Eric
Best regards, Michael.