[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: get root on a remote Host
From: |
ken |
Subject: |
Re: get root on a remote Host |
Date: |
Wed, 1 Feb 2006 10:38:46 -0500 |
On Tue, 31 Jan 2006 16:56:30 +0100 Lado <newsforlado@gmail.com> 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.