emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible issue with sudo in eshell


From: Thierry Volpiatto
Subject: Re: Possible issue with sudo in eshell
Date: Fri, 06 Apr 2012 18:30:47 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.95 (gnu/linux)

Tom Willemsen <address@hidden> 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 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]