Make sudo not ask for password for n minutes after login

by vidarlo   Last Updated August 10, 2018 12:02 PM

I regularly log in to boxen via SSH, and run update and so forth as root, using sudo.

I appreciate that sudo asks for password after a certain time, in case I walk away from terminals or such. But as I already have entered either login password, or SSH key phrase, I would prefer sudo not to ask for a password for the first n minutes after a login, but behave as if sudo had been executed successfully immediately after login.

Is this possible to configure?

Tags : ssh sudo password

Related Questions

Why is there no password prompt for sudo in 15.04

Updated August 05, 2015 18:01 PM

How do I run specific sudo commands without a password?

Updated September 05, 2015 04:01 AM