GNU bug report logs - #5072
23.1.50; Eshell fail with sudo command

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>

Date: Sun, 29 Nov 2009 18:00:06 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 5072 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Thierry Volpiatto <thierry.volpiatto <at> gmail.com>
Cc: 5072 <at> debbugs.gnu.org
Subject: Re: bug#5072: 23.1.50; Eshell fail with sudo command
Date: Sun, 29 Nov 2009 21:52:34 +0100
Thierry Volpiatto <thierry.volpiatto <at> gmail.com> writes:

> Hi,

Hi,

> Eshell fail with commands like this:
> (i use this type of command in eshell since a while and sudo is well configured)
>
> ,----
> | sudo emerge -av somepackage
> `----
>
> I end up with:
>
> ,----
> | Sorry, user thierry is not allowed to execute '/bin/bash' as root on tux.
> | exit
> | 
> | Process *tramp/sudo root <at> localhost* exited abnormally with code 1
> `----

I've added recently an eshell implementation for su and sudo, using
Tramp. This requires to run bash, indeed.

In order to keep your original behaviour, you shall call

,----
| *sudo emerge -av somepackage
`----

Escaping a command with "*" is eshell's syntax to apply the real command,
instead of its emulation.

Best regards, Michael.



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

Previous Next


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