GNU bug report logs - #6226
Please add a customizable option to NOT call tramp for every sudo command

Previous Next

Package: emacs;

Reported by: Ken Hori <fplemma <at> gmail.com>

Date: Thu, 20 May 2010 04:44:02 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6226: closed (Please add a customizable option to NOT call
 tramp for every sudo  command)
Date: Wed, 26 May 2010 10:24:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 26 May 2010 12:16:28 +0200
with message-id <87wrurnf2b.fsf <at> gmx.de>
and subject line Re: bug#6226: Please add a customizable option to NOT call tramp for every sudo command
has caused the GNU bug report #6226,
regarding Please add a customizable option to NOT call tramp for every sudo  command
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
6226: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6226
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ken Hori <fplemma <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Please add a customizable option to NOT call tramp for every sudo 
	command
Date: Wed, 19 May 2010 21:42:59 -0700
I've recently noticed Eshell is now calling tramp for every sudo
command. Tramp is very slow, and I believe for most cases tramp
intermediation is unnecessary.

Could we please add a customizable switch to enable/disable
eshell/sudo? Disabling eshell/sudo by default would be even better.


[Message part 3 (message/rfc822, inline)]
From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 6226-done <at> debbugs.gnu.org
Subject: Re: bug#6226: Please add a customizable option to NOT call tramp for
	every sudo command
Date: Wed, 26 May 2010 12:16:28 +0200
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> OTOH adding an alias to su/sudo can solve problem:
>
> alias sudo *sudo -p Password: $*
> alias su LC_ALL=C *su -l

Excellent. Aliases stay persistent, so it is the complete solution. I've
added this to eshell.texi.

Best regards, Michael.


This bug report was last modified 15 years and 77 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.