[pacman-dev] [PATCH 10/11] makepkg: do not ask sudo password twice

Loui Chang louipc.ist at gmail.com
Thu Jun 17 11:07:48 EDT 2010


On Thu 17 Jun 2010 09:19 -0430, Andres P wrote:
> On Thu, Jun 17, 2010 at 9:17 AM, Allan McRae <allan at archlinux.org> wrote:
> > 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 :/

It asks for my password twice:

[louipc at lynn ~]$ sudo -l /bin/true && sudo /bin/true
Password: 
/bin/true
Password: 



More information about the pacman-dev mailing list