GNU bug report logs - #14142
24.3.50; documentation bug in TRAMP

Previous Next

Package: emacs;

Reported by: joakim <at> verona.se

Date: Fri, 5 Apr 2013 07:42:02 UTC

Severity: normal

Tags: notabug

Found in version 24.3.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: joakim <at> verona.se
Cc: 14142 <at> debbugs.gnu.org
Subject: bug#14142: 24.3.50; documentation bug in TRAMP
Date: Fri, 05 Apr 2013 11:02:20 +0200
joakim <at> 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.




This bug report was last modified 12 years and 54 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.