unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* root buffer in Emacs started as ordinary user
@ 2004-06-30 16:38 Jean-Christophe Weis
  2004-06-30 16:47 ` Josh Howard
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe Weis @ 2004-06-30 16:38 UTC (permalink / raw)


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?

Thanks, JC Weis.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: root buffer in Emacs started as ordinary user
  2004-06-30 16:38 root buffer in Emacs started as ordinary user Jean-Christophe Weis
@ 2004-06-30 16:47 ` Josh Howard
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Howard @ 2004-06-30 16:47 UTC (permalink / raw)


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>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-30 16:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-30 16:38 root buffer in Emacs started as ordinary user Jean-Christophe Weis
2004-06-30 16:47 ` Josh Howard

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).