Hi Andreas, Andreas Kahari wrote on Mon, Dec 08, 2008 at 01:54:04PM +0000:
> According to the manual for sudo, the -v command line switch does > the following: > > "If given the -v (validate) option, sudo will update the user's > timestamp, prompting for the user's password if necessary. This > extends the sudo timeout for another 5 minutes (or whatever the > timeout is set to in sudoers) but does not run a command." > > On my system (CURRENT/amd64), it is obviously not doing this: > > $ sudo -K > $ sudo -v > $ # no output > > Is this changed behaviour, or is it a bug? Cannot reproduce on i386-current compiled from CVS on December 6. [EMAIL PROTECTED] $ sudo -K [EMAIL PROTECTED] $ ls -d /root/.profile ls: /root/.profile: Permission denied [EMAIL PROTECTED] $ sudo -v Password: [EMAIL PROTECTED] $ sudo ls -d /root/.profile /root/.profile [EMAIL PROTECTED] $ sudo -K [EMAIL PROTECTED] $ sudo -v Password: > The only non-default settings in my sudoers file is "Defaults > passwd_timeout = 0", and I haven't used "timestamp_timeout". Do you perhaps have NOPASSWD: configured? In that case, the following is expected: [EMAIL PROTECTED] $ sudo -K [EMAIL PROTECTED] $ sudo -v [EMAIL PROTECTED] $ Yours, Ingo

