2008/12/8 Todd C. Miller <[EMAIL PROTECTED]>:
> In message <[EMAIL PROTECTED]>
>        so spake "Andreas Kahari" (andreas.kahari):
>
>> Here you go:
>>
>> $ sudo -l
>> Matching Defaults entries for ak on this host:
>>     env_keep+="DESTDIR FETCH_CMD FLAVOR FTPMODE GROUP MAKE MULTI_PACKAGES",
>>     env_keep+="OKAY_FILES OWNER PKG_DBDIR PKG_DESTDIR PKG_CACHE PKG_PATH",
>>     env_keep+="PKG_TMPDIR PORTSDIR RELEASEDIR SUBPACKAGE WRKOBJDIR",
>>     env_keep+="SSH_AUTH_SOCK EDITOR VISUAL SHARED_ONLY", passwd_timeout=0,
>>     !insults
>>
>> User ak may run the following commands on this host:
>>     (ALL) SETENV: ALL
>>     (ALL) NOPASSWD: /usr/local/libexec/xfsm-shutdown-helper
>
> That looks like a bug.  The verifypw setting is not being handled
> correctly.
>
>  - todd
>

Ah, I think I found it.  It is this line in my sudoers file that does it:

%users ALL=(ALL) NOPASSWD: /usr/local/libexec/xfsm-shutdown-helper

What's wrong with it? I was intending to let any member of the 'users'
group execute the xfsm-shutdown-helper program, but this line has the
side effect of making "sudo -v" not work properly.


Andreas

-- 
Andreas Kahari
Somewhere in the general Cambridge area, UK

Reply via email to