From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: SU commands from Emacs Date: Fri, 24 Aug 2007 11:51:07 +0200 Message-ID: References: <878x8ahxho.fsf@W0053328.mgh.harvard.edu> <87eji1hpmk.fsf@W0053328.mgh.harvard.edu> <87hcmpzbbo.fsf@debby.local.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1187949676 27399 80.91.229.12 (24 Aug 2007 10:01:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 24 Aug 2007 10:01:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, "Joel J. Adamson" To: Dieter Wilhelm Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 24 12:01:14 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IOVyb-0001Xs-JJ for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Aug 2007 12:01:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOVya-0000rt-S4 for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Aug 2007 06:01:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOVqT-0007GG-UG for help-gnu-emacs@gnu.org; Fri, 24 Aug 2007 05:52:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOVqP-0007C8-Qj for help-gnu-emacs@gnu.org; Fri, 24 Aug 2007 05:52:47 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOVqN-0007BV-8V for help-gnu-emacs@gnu.org; Fri, 24 Aug 2007 05:52:44 -0400 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOVqM-0006uD-3x for help-gnu-emacs@gnu.org; Fri, 24 Aug 2007 05:52:42 -0400 Original-Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id C253B94755BD; Fri, 24 Aug 2007 11:51:14 +0200 (CEST) Original-Received: from [62.134.231.155] (helo=[192.168.1.2]) by smtp05.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.108 #197) id 1IOVow-0007SY-00; Fri, 24 Aug 2007 11:51:14 +0200 In-Reply-To: <87hcmpzbbo.fsf@debby.local.net> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-Provags-ID: V01U2FsdGVkX187hJlSBscTkLJRZQd0RbbyCYdJY+3tog1dC4wo 5to0sjK1nxfchJIGLMqL3koyy2LMClWk6QCpxN30lUjGwIEZ2H do5bP3dUX9X1D8KLsoJA== X-Detected-Kernel: Linux 2.4-2.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46806 Archived-At: 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-=20 grep, occur, or whatever. Once you've opened a directory with root =20 privileges all subsequently following commands (f or e or ! in dired-=20 mode for example) are as by root. So you better work very carefully ... -- Mit friedvollen Gr=FC=DFen Pete =93One cannot live by television, video games, top ten CDs, and dumb =20 movies alone=94 (Amiri Baraka 1999)