From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ken Newsgroups: gmane.emacs.help Subject: Re: get root on a remote Host Date: Wed, 1 Feb 2006 10:38:46 -0500 Message-ID: <20060201103846.3c51964d@dellap.mousecar.net> References: <43DF88AE.3050308@gmail.com> Reply-To: gebser@speakeasy.net NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1138829581 21448 80.91.229.2 (1 Feb 2006 21:33:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 1 Feb 2006 21:33:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 01 22:32: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 1F4PaK-000592-Eg for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2006 22:32:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4PdO-000493-Gd for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Feb 2006 16:35:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F4N0T-0001wq-3a for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 13:47:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F4KQH-0000wT-7V for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 11:01:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F4K82-0005S3-KQ for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 10:42:43 -0500 Original-Received: from [69.17.117.8] (helo=mail6.sea5.speakeasy.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F4K6i-0004zW-Hr for help-gnu-emacs@gnu.org; Wed, 01 Feb 2006 10:41:20 -0500 Original-Received: (qmail 21516 invoked from network); 1 Feb 2006 15:39:29 -0000 Original-Received: from dsl093-011-017.cle1.dsl.speakeasy.net (HELO dellap.mousecar.net) ([66.93.11.17]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 1 Feb 2006 15:39:28 -0000 Original-To: help-gnu-emacs@gnu.org In-Reply-To: <43DF88AE.3050308@gmail.com> X-Mailer: Sylpheed-Claws 1.0.3 (GTK+ 1.2.10; i686-suse-linux) 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:32951 Archived-At: On Tue, 31 Jan 2006 16:56:30 +0100 Lado wrote: > 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. > > Thank you! Use ssh to log into the remote host as a regular user. Then su to root. Then either (1) fire up emacs either in a terminal (non-X) or (2) set up your local machine as an X server and launch emacs on the remote machine but using the display variable of the local machine. hth, ken -- "This world ain't big enough for the both of us," said the big noema to the little noema.