unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Tom Willemsen <tom@ryuslash.org>
To: Sven Joachim <svenjoac@gmx.de>
Cc: emacs-devel@gnu.org
Subject: Re: Possible issue with sudo in eshell
Date: Fri, 06 Apr 2012 15:11:07 +0200	[thread overview]
Message-ID: <m3wr5tm2dw.fsf@ryuslash.org> (raw)
In-Reply-To: <8762dd59tu.fsf@turtle.gmx.de>

Hey guys,

On Fri 06 Apr 2012 02:22:21 PM CEST, Sven Joachim wrote:

 > If sudo is configured with the tty_tickets option (recommended for
 > security reasons), you'll have to enter the password each time.
 >
 > > I have no idea how to fix this, any hints welcome.
 >
 > I tried "alias sudo /usr/bin/sudo", but that worked badly.  Any eshell
 > guru around with better suggestions?

I've got the following in my emacs init file:

(fset 'eshell/sudo nil)

This makes it call /usr/bin/sudo instead of `eshell/sudo', but I still
have to enter my password every time I use it.

Cheers,
Tom



  reply	other threads:[~2012-04-06 13:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-06 10:32 Possible issue with sudo in eshell Thierry Volpiatto
2012-04-06 12:22 ` Sven Joachim
2012-04-06 13:11   ` Tom Willemsen [this message]
2012-04-06 16:30     ` Thierry Volpiatto
2012-04-06 16:22   ` Thierry Volpiatto

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=m3wr5tm2dw.fsf@ryuslash.org \
    --to=tom@ryuslash.org \
    --cc=emacs-devel@gnu.org \
    --cc=svenjoac@gmx.de \
    /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).