[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#5072: 23.1.50; Eshell fail with sudo command
From: |
Michael Albinus |
Subject: |
bug#5072: 23.1.50; Eshell fail with sudo command |
Date: |
Sun, 29 Nov 2009 21:52:34 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Thierry Volpiatto <thierry.volpiatto@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@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.