[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tramp multi-hop on localhost: su:sudo

From: Jonathan Groll
Subject: Tramp multi-hop on localhost: su:sudo
Date: Mon, 18 May 2009 12:18:05 +0200
User-agent: Mutt/1.5.18 (Linux mail i686)

On OS X  (perhaps not unwarranted) I'm too afraid to let my regular
user have sudo rights, so if I want to edit a file as root, I need to
first su to another user account (that is in the sudoers file) and
then sudo to root.

All works well except for tramp. I can su and edit files that belong
to another user, but still haven't worked out how to get multihop to
the root user working.

I've read the manual, on other hosts I can use tramp multihop to first
ssh into another host and then sudo to root (eg. ubuntu boxes), but
still haven't managed to get the > su> sudo hop working on my mac.

How do I do this? Is it possible even on the localhost?

Many thanks,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]