From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#5072: 23.1.50; Eshell fail with sudo command Date: Sun, 29 Nov 2009 21:52:34 +0100 Message-ID: <87fx7xqcj1.fsf@gmx.de> References: <87ljhpcjgv.fsf@tux.homenetwork> Reply-To: Michael Albinus , 5072@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259528864 7685 80.91.229.12 (29 Nov 2009 21:07:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 29 Nov 2009 21:07:44 +0000 (UTC) Cc: 5072@emacsbugs.donarmstrong.com To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 29 22:07:37 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NEqzY-0008Ne-Dh for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2009 22:07:36 +0100 Original-Received: from localhost ([127.0.0.1]:53808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEqzY-0000zx-01 for geb-bug-gnu-emacs@m.gmane.org; Sun, 29 Nov 2009 16:07:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NEqzT-0000za-5P for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 16:07:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NEqzO-0000z8-Hh for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 16:07:30 -0500 Original-Received: from [199.232.76.173] (port=51463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NEqzN-0000z5-SA for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 16:07:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:47953) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NEqzN-0004tc-DA for bug-gnu-emacs@gnu.org; Sun, 29 Nov 2009 16:07:25 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nATL7NH4013568; Sun, 29 Nov 2009 13:07:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nATL039e012132; Sun, 29 Nov 2009 13:00:03 -0800 Resent-Date: Sun, 29 Nov 2009 13:00:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Michael Albinus Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 29 Nov 2009 21:00:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 5072 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5072-submit@emacsbugs.donarmstrong.com id=B5072.125952796511668 (code B ref 5072); Sun, 29 Nov 2009 21:00:03 +0000 Original-Received: (at 5072) by emacsbugs.donarmstrong.com; 29 Nov 2009 20:52:45 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id nATKqhPP011665 for <5072@emacsbugs.donarmstrong.com>; Sun, 29 Nov 2009 12:52:45 -0800 Original-Received: (qmail invoked by alias); 29 Nov 2009 20:52:36 -0000 Original-Received: from p57A222AA.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.34.170] by mail.gmx.net (mp065) with SMTP; 29 Nov 2009 21:52:36 +0100 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1/yz51HA5Hyg5EwJg5Zh7JySp9ppSmIhBvLDcCeAl YXGG/2HrJtH9Fc In-Reply-To: <87ljhpcjgv.fsf@tux.homenetwork> (Thierry Volpiatto's message of "Sun, 29 Nov 2009 18:46:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 29 Nov 2009 16:07:30 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33041 Archived-At: Thierry Volpiatto 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.