Control: outlook -1 close 2022-12-31 Control: tags -1 moreinfo thanks On Mon, Jan 31, 2022 at 09:17:08PM +0100, Marc Haber wrote: > On Wed, Oct 12, 2005 at 11:36:34PM -0700, Karl Chen wrote: > > Currently, "sudo -v" will check the timestamp, and prompt > > for the password if necessary. > > > > I would like a command "sudo -v command" that will prompt > > for the password only if "sudo command" would prompt for the > > password. I.e., if the user has NOPASSWD access to that > > command, just exit with a 0 return code without prompting. > > Can you check whether the -l option will probably do what you intend to > do?
I understand that this has not much priority for you as the original reporter after 17 years. I intend to close this by the end of 2022 because I think that the issue has been implemented in the mean time. Greetings Marc