From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.help Subject: Re: get root on a remote Host Date: Wed, 01 Feb 2006 10:20:06 +0100 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138820818 16677 80.91.229.2 (1 Feb 2006 19:06:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 19:06:58 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 20:06:56 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F4NHu-0007bY-7c for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2006 20:05:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4KQk-0000bH-Sa for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2006 11:02:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4EGy-0005dD-4B for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 04:27:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4EGM-0005H9-T8 for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 04:27:01 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4ECv-00041b-OW for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 04:23:22 -0500 Original-Received: from [194.113.59.96] (helo=mailrelay2.alcatel.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F4EBY-0006jy-J6 for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 04:21:56 -0500 Original-Received: from slbwba.alcatel.de (slbwba.bln.sel.alcatel.de [149.204.93.70]) by mailrelay2.alcatel.de (8.12.10/8.12.10/ICT TSC MAIL 2005) with ESMTP id k119K6pq024727; Wed, 1 Feb 2006 10:20:06 +0100 Original-To: Lado In-Reply-To: (newsforlado@gmail.com's message of "Tue, 31 Jan 2006 16:56:30 +0100") User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/20.7 (hpux) X-Scanned-By: MIMEDefang 2.49 on 149.204.45.73 X-Mailman-Approved-At: Wed, 01 Feb 2006 08:07:23 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32947 Archived-At: Lado 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.