all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Micha Feigin <michf@post.tau.ac.il>
Subject: Re: Editing a file as root
Date: Mon, 15 Dec 2003 19:22:58 +0200	[thread overview]
Message-ID: <20031215172258.GJ5898@luna.mooo.com> (raw)
In-Reply-To: <x5smjmewfv.fsf@lola.goethe.zz>

On Mon, Dec 15, 2003 at 01:50:12AM +0100, David Kastrup wrote:
> Micha Feigin <michf@post.tau.ac.il> writes:
> 
> > On Sun, Dec 14, 2003 at 10:25:41PM +0100, David Kastrup wrote:
> > > Dan Anderson <dan@mathjunkies.com> writes:
> > > 
> > > > bhiker@free.fr writes:
> > > > 
> > > > > To edit a file as root, do I have to start another emacs ?
> > > > 
> > > > Start emacs under  a root shell or after suing  (or sudoing emacs) and
> > > > you'll start emacs running with root permissions.
> > > 
> > > If you have tramp installed (like the CVS Emacs has by default), you
> > > can just edit the file
> > > /su::/etc/fstab
> > > (for example), Emacs will ask you for the root password, spawn a root
> > > shell and use a pipe to it to send files back and forth transparently.
> > > 
> > > tramp is available as a separate package, too, if you don't like
> > > using developer Emacsen.
> > 
> > Actually reading the tramp documentation it would seem that the correct
> > way to do this is
> > /[su/localhost]/etc/fstab
> 
> Then you are either using an outdated tramp or XEmacs or both.
> 

its bidi emacs. Its based on the cvs version (2.3.50 iirc).

> -- 
> David Kastrup, Kriemhildstr. 15, 44793 Bochum
> _______________________________________________
> Help-gnu-emacs mailing list
> Help-gnu-emacs@gnu.org
> http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
> 

  reply	other threads:[~2003-12-15 17:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1AT5y2-0002EZ-OF@monty-python.gnu.org>
2003-12-14 18:54 ` Editing a file as root bhiker
     [not found] ` <mailman.62.1071431778.868.help-gnu-emacs@gnu.org>
2003-12-14 21:09   ` Dan Anderson
2003-12-14 21:25     ` David Kastrup
2003-12-15  0:12       ` Micha Feigin
     [not found]       ` <mailman.65.1071450890.868.help-gnu-emacs@gnu.org>
2003-12-15  0:50         ` David Kastrup
2003-12-15 17:22           ` Micha Feigin [this message]
     [not found]           ` <mailman.105.1071513681.868.help-gnu-emacs@gnu.org>
2003-12-15 21:57             ` Benjamin Rutt
2003-12-16 12:41               ` Micha Feigin
     [not found]               ` <mailman.136.1071582719.868.help-gnu-emacs@gnu.org>
2003-12-16 15:36                 ` Benjamin Rutt
2003-12-17 18:01             ` Kai Grossjohann
2003-12-15 10:47       `  Sébastien Kirche
2003-12-15 12:40         ` gebser
2003-12-17 15:51         ` Piet van Oostrum
2003-12-17 18:04         ` Kai Grossjohann
2003-12-18 17:28           ` Kevin Rodgers
2003-12-18 18:28             ` Kai Grossjohann
2003-12-19 11:16               ` Piet van Oostrum
2003-12-21 13:52                 ` Kai Grossjohann
2003-12-15 18:39   ` kgold
     [not found] <mailman.83.1071495859.868.help-gnu-emacs@gnu.org>
2003-12-15 13:15 `  Sébastien Kirche
2003-12-15 16:17   ` gebser
2003-12-17 18:06   ` Kai Grossjohann
     [not found] <mailman.97.1071509004.868.help-gnu-emacs@gnu.org>
2003-12-17 10:07 `  Sébastien Kirche
2003-12-17 13:19   ` gebser
2003-12-17 18:08   ` Kai Grossjohann

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=20031215172258.GJ5898@luna.mooo.com \
    --to=michf@post.tau.ac.il \
    /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.