From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: tramp sudo or not sudo on remote server Date: Sat, 27 Aug 2011 18:37:01 +0800 Message-ID: <87liufcf8y.fsf@ericabrahamsen.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314441455 24499 80.91.229.12 (27 Aug 2011 10:37:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 27 Aug 2011 10:37:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 27 12:37:32 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QxGGZ-00087h-LF for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Aug 2011 12:37:31 +0200 Original-Received: from localhost ([::1]:60457 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxGGZ-0004cD-5J for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Aug 2011 06:37:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:37706) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxGGU-0004c8-IL for help-gnu-emacs@gnu.org; Sat, 27 Aug 2011 06:37:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxGGT-0005gh-Ne for help-gnu-emacs@gnu.org; Sat, 27 Aug 2011 06:37:26 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:40123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxGGT-0005gd-IW for help-gnu-emacs@gnu.org; Sat, 27 Aug 2011 06:37:25 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QxGGR-00083s-Dh for help-gnu-emacs@gnu.org; Sat, 27 Aug 2011 12:37:23 +0200 Original-Received: from 114.250.120.66 ([114.250.120.66]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Aug 2011 12:37:23 +0200 Original-Received: from eric by 114.250.120.66 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Aug 2011 12:37:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 11 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.250.120.66 User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:7TpYmWAlkIJZd/6ecM5utLxtUk8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82081 Archived-At: 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? Thanks! Eric