From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dieter Wilhelm Newsgroups: gmane.emacs.help Subject: Re: SU commands from Emacs Date: Sat, 25 Aug 2007 05:00:51 +0200 Organization: The Church of Emacs Message-ID: <87lkc0wc64.fsf@debby.local.net> References: <878x8ahxho.fsf@W0053328.mgh.harvard.edu> <87eji1hpmk.fsf@W0053328.mgh.harvard.edu> <87hcmpzbbo.fsf@debby.local.net> <85ir74fvho.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188038550 4368 80.91.229.12 (25 Aug 2007 10:42:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 25 Aug 2007 10:42:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: David Kastrup Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 25 12:42:28 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 1IOt64-0001JJ-At for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2007 12:42:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOt63-00029n-NM for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Aug 2007 06:42:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IOt5n-00029F-HF for help-gnu-emacs@gnu.org; Sat, 25 Aug 2007 06:42:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IOt5l-00028l-TJ for help-gnu-emacs@gnu.org; Sat, 25 Aug 2007 06:42:11 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IOt5l-00028X-NO for help-gnu-emacs@gnu.org; Sat, 25 Aug 2007 06:42:09 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IOlrr-0006PG-IF; Fri, 24 Aug 2007 22:59:20 -0400 Original-Received: from drms-590c712e.pool.einsundeins.de [89.12.113.46] (helo=debby.local.net) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis), id 0MKwh2-1IOlrp2VI6-0000nf; Sat, 25 Aug 2007 04:59:17 +0200 Original-Received: from dieter by debby.local.net with local (Exim 4.63) (envelope-from ) id 1IOltL-00012z-5d; Sat, 25 Aug 2007 05:00:51 +0200 In-Reply-To: <85ir74fvho.fsf@lola.goethe.zz> (David Kastrup's message of "Fri\, 24 Aug 2007 23\:55\:31 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-Provags-ID: V01U2FsdGVkX1/XCUREw9hRUUqLm7FLLoZlLc6ZOnoGL3lhNyh l4FIyqZysEHk5Fdcf0b4Kcrj0VPuJV6Us/DzG/jwFIsUhlc6OA m/lhkAvmVJr9Cmj5/ALkNs2Zu5ZOqlQ X-Detected-Kernel: Linux 2.6? (barebone, rare!) 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:46832 Archived-At: David Kastrup writes: > Dieter Wilhelm writes: > >> Michael Albinus writes: >> >>> Dieter Wilhelm writes: >>> >>>> Yes, lately I stumbled over a find-grep in /etc. How could this be >>>> done with root privileges? >>> >>> Tramp 2.1 supports it. It is synchronized with the Emacs CVS sources. >>> Open "/sudo::/etc", and apply "M-x find-grep". >>> >> Great! Thanks a lot. >> >> By the way, can you specify between the double colons another user >> except root as well? > > /sudo:dieter@:/etc This notation of leaving out the host is also new to me, thanks On second thought: shouldn't /su:name@localhost:/dir not be equivalent to /name@localhost:/dir > It is not like this is not documented in the tramp manual. Admitted, I did not read the *whole* documentation of tramp and so the notation was not so obvious and as far as I leaved through the info pages the information is not placed at a prominent point. -- Best wishes H. Dieter Wilhelm Darmstadt, Germany