unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Josh Howard <jrh@zeppelin.net>
Subject: Re: root buffer in Emacs started as ordinary user
Date: Wed, 30 Jun 2004 09:47:19 -0700	[thread overview]
Message-ID: <87smcdat7s.fsf@dazed.zeppelin.net> (raw)
In-Reply-To: <20040630163843.GA2442@max.my.domain> (Jean-Christophe Weis's message of "Wed, 30 Jun 2004 18:38:43 +0200")

Jean-Christophe Weis <jcweis@melix.net> writes:

> Hello list,
>
> Can I start Emacs as an ordinary user, and then from inside that
> Emacs, open a buffer as root for editing, say, a system file? Or must
> I start another Emacs as root to do that?

With tramp, yes.

C-x C-f /su::/etc/ttys

http://www.emacswiki.org/cgi-bin/wiki/TrampMode
http://savannah.gnu.org/projects/tramp/


-- 
Josh Howard <jrh@zeppelin.net>

      reply	other threads:[~2004-06-30 16:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 16:38 root buffer in Emacs started as ordinary user Jean-Christophe Weis
2004-06-30 16:47 ` Josh Howard [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87smcdat7s.fsf@dazed.zeppelin.net \
    --to=jrh@zeppelin.net \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).