help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: SU commands from Emacs


From: Peter Dyballa
Subject: Re: SU commands from Emacs
Date: Fri, 24 Aug 2007 11:51:07 +0200


Am 24.08.2007 um 08:38 schrieb Dieter Wilhelm:

jadamson@partners.org (Joel J. Adamson) writes:

Sometimes I want to do a command that requires root privileges.

Yes, lately I stumbled over a find-grep in /etc.  How could this be
done with root privileges?


Use Tramp: C-x d /sudo::/etc RET and then do the usual things, find- grep, occur, or whatever. Once you've opened a directory with root privileges all subsequently following commands (f or e or ! in dired- mode for example) are as by root. So you better work very carefully ...

--
Mit friedvollen Grüßen

  Pete

“One cannot live by television, video games, top ten CDs, and dumb movies alone”
      (Amiri Baraka 1999)






reply via email to

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