unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 5072@emacsbugs.donarmstrong.com
Subject: bug#5072: 23.1.50; Eshell fail with sudo command
Date: Sun, 29 Nov 2009 21:52:34 +0100	[thread overview]
Message-ID: <87fx7xqcj1.fsf@gmx.de> (raw)
In-Reply-To: <87ljhpcjgv.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Sun, 29 Nov 2009 18:46:24 +0100")

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.





  reply	other threads:[~2009-11-29 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-29 17:46 bug#5072: 23.1.50; Eshell fail with sudo command Thierry Volpiatto
2009-11-29 20:52 ` Michael Albinus [this message]
2009-11-30  1:25   ` Stefan Monnier
2009-11-30  5:28     ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fx7xqcj1.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=5072@emacsbugs.donarmstrong.com \
    --cc=thierry.volpiatto@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).