From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Xavier Maillard Newsgroups: gmane.emacs.devel Subject: Re: tramp sudo logging Date: Sat, 22 May 2004 22:34:54 +0200 Organization: GNU Rox ! Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1085294115 14067 80.91.224.253 (23 May 2004 06:35:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 May 2004 06:35:15 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun May 23 08:35:07 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRmZf-0002HR-00 for ; Sun, 23 May 2004 08:35:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BRmZf-0006R1-00 for ; Sun, 23 May 2004 08:35:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BRm7F-0006zd-FT for emacs-devel@quimby.gnus.org; Sun, 23 May 2004 02:05:45 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BRjv1-0007kz-9s for emacs-devel@gnu.org; Sat, 22 May 2004 23:44:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BRjuH-0007Zp-4J for emacs-devel@gnu.org; Sat, 22 May 2004 23:44:45 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BRhC3-0002pP-Cn for emacs-devel@gnu.org; Sat, 22 May 2004 20:50:23 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by mx20.gnu.org with esmtp (Exim 4.34) id 1BRgS6-0004VN-MB for emacs-devel@gnu.org; Sat, 22 May 2004 20:02:55 -0400 Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BRgS2-0008He-00 for ; Sun, 23 May 2004 02:02:50 +0200 Original-Received: from rms.gnu-rox.org ([213.41.134.247]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 May 2004 02:02:50 +0200 Original-Received: from zedek by rms.gnu-rox.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 May 2004 02:02:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: emacs-devel@gnu.org Original-To: emacs-devel@gnu.org Original-Lines: 21 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: rms.gnu-rox.org Mail-Copies-To: never X-Attribution: zeDek X-Face: "qG{UC8GPzro#PZ!Jgisuj0]=k10 f#d596CJMPGOGwB'j\^JR2g0']N%L:ylC`?.l8u#JuS#CygUA}avHHVJJ!#ub7CxX#u]g}?z,hQ; c q%v]"[$!BfS X-Accept-Language: fr-fr, en-en, en-fr User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:F0VrqU7CnARIqIrTRfqd8h496SQ= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23840 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23840 On 13 May 2004, Karl Chen wrote: > I've been enjoying tramp for a while; here's a suggestion. > > Tramp's sudo support breaks sudo's logging. (Sudo's logging > facility is very important especially on a system with many > administrators; files edited through tramp currently only show > "sudo bash".) > > It would be nice to have the option to: > > 1) when starting the sudo shell, also do "sudo echo '[Emacs tramp > sub-process]'" > > 2) for each file edited, also do "sudo echo '[Emacs tramp: > editing file foo]'" Can't you do it by yourself with some hooks ? -- Xavier Maillard, zedek@gnu-rox.org