unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: get root on a remote Host
Date: Wed, 01 Feb 2006 10:20:06 +0100	[thread overview]
Message-ID: <nqirrzl9kp.fsf@alcatel.de> (raw)
In-Reply-To: <mailman.388.1138723417.3044.help-gnu-emacs@gnu.org> (newsforlado@gmail.com's message of "Tue, 31 Jan 2006 16:56:30 +0100")

Lado <newsforlado@gmail.com> writes:

> Hi!

Hi,

> Ich use emacs 22. I use Tramp over ssh to edit my files on remote Hosts
> very often. From time to time i need to get root on a remote host. There
> is no Problem to get root on the localhost with /su::, but i was not
> able to find any solution how to get root on a localhost.
> P.S.
> i can not login as root on a remote host, because ssh root login are not
> permitted.

How can you be root on your remote host? I suspect you login via ssh
under your own name onto that host, and then you apply "su" or
"sudo". This behaviour can be simulated with Tramp using a multi-hop
method, something like "/multi:ssh:remote.host:su:root@localhost:/".

Note that the syntax has been changed with Tramp 2.1. But with plain
Emacs 22, you have Tramp 2.0.

> Thank you!

Best regards, Michael.

       reply	other threads:[~2006-02-01  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.388.1138723417.3044.help-gnu-emacs@gnu.org>
2006-02-01  9:20 ` Michael Albinus [this message]
2006-01-31 15:56 get root on a remote Host Lado
2006-02-01 15:38 ` ken

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=nqirrzl9kp.fsf@alcatel.de \
    --to=michael.albinus@gmx.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).