Andreas Kahari wrote:
Hi list,

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?

The only non-default settings in my sudoers file is "Defaults
passwd_timeout = 0", and I haven't used "timestamp_timeout".

If so you should not be able to run sudo other than as root.

My guess is that you have the following uncommented:

  %wheel        ALL=(ALL) NOPASSWD: SETENV: ALL

/Alexander

Reply via email to