From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>
Cc: help-gnu-emacs@gnu.org, "Joel J. Adamson" <jadamson@partners.org>
Subject: Re: SU commands from Emacs
Date: Fri, 24 Aug 2007 11:51:07 +0200 [thread overview]
Message-ID: <EE43DF2E-FCED-4226-95C1-0230982B99E1@Web.DE> (raw)
In-Reply-To: <87hcmpzbbo.fsf@debby.local.net>
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)
next prev parent reply other threads:[~2007-08-24 9:51 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-17 17:38 SU commands from Emacs Joel J. Adamson
2007-08-17 18:23 ` Emilio Lopes
2007-08-17 19:38 ` Joel J. Adamson
2007-08-18 9:55 ` Emilio Lopes
2007-08-17 19:04 ` David Hansen
2007-08-17 19:27 ` Peter Dyballa
[not found] ` <mailman.4925.1187378874.32220.help-gnu-emacs@gnu.org>
2007-08-17 20:23 ` Joel J. Adamson
2007-08-17 20:37 ` Sven Joachim
[not found] ` <mailman.4924.1187377704.32220.help-gnu-emacs@gnu.org>
2007-08-17 20:28 ` Joel J. Adamson
2007-08-24 6:38 ` Dieter Wilhelm
2007-08-24 9:37 ` Michael Albinus
2007-08-24 20:32 ` Dieter Wilhelm
2007-08-24 22:16 ` Peter Dyballa
2007-08-25 2:45 ` Dieter Wilhelm
2007-08-25 19:35 ` Joel J. Adamson
2007-08-26 8:49 ` Michael Albinus
2007-08-27 13:28 ` Joel J. Adamson
[not found] ` <mailman.5288.1187987493.32220.help-gnu-emacs@gnu.org>
2007-08-24 21:55 ` David Kastrup
2007-08-25 3:00 ` Dieter Wilhelm
2007-08-26 10:55 ` Michael Albinus
2007-08-24 9:51 ` Peter Dyballa [this message]
[not found] ` <mailman.5238.1187937431.32220.help-gnu-emacs@gnu.org>
2007-08-24 7:59 ` Tim X
2007-08-24 20:20 ` Dieter Wilhelm
[not found] ` <mailman.5305.1188026786.32220.help-gnu-emacs@gnu.org>
2007-08-25 9:28 ` Tim X
2007-08-25 13:57 ` Dieter Wilhelm
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=EE43DF2E-FCED-4226-95C1-0230982B99E1@Web.DE \
--to=peter_dyballa@web.de \
--cc=dieter@duenenhof-wilhelm.de \
--cc=help-gnu-emacs@gnu.org \
--cc=jadamson@partners.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.
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).