From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#14142: 24.3.50; documentation bug in TRAMP Date: Fri, 05 Apr 2013 11:02:20 +0200 Message-ID: <87r4ip2vvn.fsf@gmx.de> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1365152579 8165 80.91.229.3 (5 Apr 2013 09:02:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Apr 2013 09:02:59 +0000 (UTC) Cc: 14142@debbugs.gnu.org To: joakim@verona.se Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 05 11:03:26 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UO2YN-00039x-LG for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 11:03:23 +0200 Original-Received: from localhost ([::1]:59111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO2Xy-0004BU-O1 for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Apr 2013 05:02:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51206) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO2Xq-0004AC-RW for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 05:02:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UO2Xo-0003uQ-DU for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 05:02:50 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58991) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UO2Xo-0003ty-AA for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 05:02:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UO2av-0004ff-Np for bug-gnu-emacs@gnu.org; Fri, 05 Apr 2013 05:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Apr 2013 09:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14142 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14142-submit@debbugs.gnu.org id=B14142.136515274817931 (code B ref 14142); Fri, 05 Apr 2013 09:06:01 +0000 Original-Received: (at 14142) by debbugs.gnu.org; 5 Apr 2013 09:05:48 +0000 Original-Received: from localhost ([127.0.0.1]:34866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UO2ah-0004fA-Lf for submit@debbugs.gnu.org; Fri, 05 Apr 2013 05:05:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:59998) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UO2ae-0004f1-F1 for 14142@debbugs.gnu.org; Fri, 05 Apr 2013 05:05:45 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.4]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0LnVlw-1UoqRm0THC-00hahP for <14142@debbugs.gnu.org>; Fri, 05 Apr 2013 11:02:28 +0200 Original-Received: (qmail invoked by alias); 05 Apr 2013 09:02:27 -0000 Original-Received: from p57BB951A.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.26] by mail.gmx.net (mp004) with SMTP; 05 Apr 2013 11:02:27 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18GP7linuMG+1g1rjIz0keI4eZvmbneEytIHFIVn9 MgQkz8pKTMcuQX In-Reply-To: (joakim@verona.se's message of "Fri, 05 Apr 2013 09:36:35 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:73183 Archived-At: joakim@verona.se writes: Hi Joakim, > There is a possible documentation bug in TRAMP. > > The TRAMP docs say: > > ,---- > | Opening `/sudo:randomhost.your.domain:' would connect first > | `randomhost.your.domain' via `ssh' under your account name, and perform > | `sudo -u root' on that host afterwards. It is important to know that > | the given method is applied on the host which has been reached so far. > | `sudo -u root', applied on your local host, wouldn't be useful here. > `---- You should quote the whole documentation about: ,---- | If you, for example, wants to work as 'root' on hosts in the domain | 'your.domain', but login as 'root' is disabled for non-local | access, you might add the following rule: | | (add-to-list 'tramp-default-proxies-alist | '("\\.your\\.domain\\'" "\\`root\\'" "/ssh:%h:")) | | Opening '/sudo:randomhost.your.domain:' would connect first | 'randomhost.your.domain' via 'ssh' under your account name, and | perform 'sudo -u root' on that host afterwards. It is important to | know that the given method is applied on the host which has been | reached so far. 'sudo -u root', applied on your local host, | wouldn't be useful here. `---- I'll mark it as not-a-bug. Best regards, Michael.