[pacman-dev] [PATCH 10/11] makepkg: do not ask sudo password twice
Allan McRae
allan at archlinux.org
Thu Jun 17 09:47:56 EDT 2010
On 17/06/10 23:35, Andres P wrote:
> On Thu, Jun 17, 2010 at 9:04 AM, Allan McRae<allan at archlinux.org> wrote:
>> Um... no it does not... sudo -l does not ask for a password even with
>> timestamp_timeout=0.
>>
>> Allan
>
> Yes it does... man sudoers
>
> Defaults timestamp_timeout=0, passwd_timeout=0
>
> sudo -l /bin/true&& sudo /bin/true
>
> will ask you twice... come on now :/
>
allan at mugen ~
> sudo -l
Matching Defaults entries for allan on this host:
timestamp_timeout=0, passwd_timeout=0
User allan may run the following commands on this host:
(ALL) ALL
allan at mugen ~
> sudo -l /bin/true && sudo /bin/true
/bin/true
Password:
allan at mugen ~
>
I count one password request...
More information about the pacman-dev
mailing list