Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • But the specified commands are ALL, right? and how can I set authenticate to off?? I can't seem to find that in the man page. Commented Oct 14, 2012 at 10:58
  • ALL commands that you run using sudo; you are not running sudo using.sudo, however. That is, you are not running sudo sudo -v. So it doesn't apply. To change the authenticate setting, consult the section of the man page that deals with defaults and also look at the examples at the end. Commented Oct 14, 2012 at 13:26
  • well, running sudo sudo -v requires no password, and I thought it will update the timestamp, however, running sudo -v immediately after that prompts for password. I've edited that into the question too. Commented Oct 15, 2012 at 13:07