all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jonathan Groll <lists@groll.co.za>
To: help-gnu-emacs@gnu.org
Subject: Tramp multi-hop on localhost: su:sudo
Date: Mon, 18 May 2009 12:18:05 +0200	[thread overview]
Message-ID: <20090518101805.GD26546@groll.co.za> (raw)

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,
Jonathan




             reply	other threads:[~2009-05-18 10:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-18 10:18 Jonathan Groll [this message]
2009-05-26 19:47 ` Tramp multi-hop on localhost: su:sudo Michael Albinus
2009-06-07 16:54 ` Michael Albinus
2009-06-08 21:57   ` Jonathan Groll
2009-06-09  4:08     ` Michael Albinus

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

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

  git send-email \
    --in-reply-to=20090518101805.GD26546@groll.co.za \
    --to=lists@groll.co.za \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.