From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Possible issue with sudo in eshell
Date: Fri, 06 Apr 2012 18:30:47 +0200 [thread overview]
Message-ID: <87fwcgaklk.fsf@gmail.com> (raw)
In-Reply-To: m3wr5tm2dw.fsf@ryuslash.org
Tom Willemsen <tom@ryuslash.org> writes:
> 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.
In eshell you can always use the original command (not its lisp
counterpart) by prefixing with "*" e.g for sudo you can use *sudo to run
/usr/bin/sudo, for grep *grep etc...
--
Thierry
Get my Gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 59F29997
next prev parent reply other threads:[~2012-04-06 16:30 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
2012-04-06 16:30 ` Thierry Volpiatto [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fwcgaklk.fsf@gmail.com \
--to=thierry.volpiatto@gmail.com \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.