On 17/06/10 23:35, Andres P wrote:
On Thu, Jun 17, 2010 at 9:04 AM, Allan McRae<[email protected]>  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 :/


al...@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

al...@mugen ~
> sudo -l /bin/true && sudo /bin/true
/bin/true
Password:

al...@mugen ~
>

I count one password request...

Reply via email to