I am surprised to see
$ sudo -v [sudo] password for t:
Why is its version worth protection?
To get sudo's version, use
This information is not protected, and does not require any sudoers privileges to execute (test with
sudo -k; sudo -V).
As pointed out,
sudo -v does something different.
A quick "meta" hack for finding version information:
man sudo | grep -i version
... which would result in (in part):
Print the sudo version string as well as the version string of the security policy plugin and any I/O
sudo -v does not provide the version information .
sudo -V is the command for that.
does not print the version information; it instead provides a way to the user to update the cached credentials without running an actual command. So it's supposed to ask for the user's password.
The command to print sudo's version is