Run sudo visudo and add this line:

Defaults    timestamp_timeout=-1


See man 5 sudoers. -1 causes the password to never timeout. You may change the number to whatever you like in minutes.

The man page for sudo says that sudo -v "extends the sudo timeout for another 5 minutes".

Running 'sudo visudo' instead of editing the file directly causes the system to validate the sudoers file before it commits the changes.  For instance, if you leave a stray character somwhere, when you save and exit, it will say "there is an error in the sudoers file, what would you like to do?" ... hence giving you a chance to go back in and edit.  This actually just happened to me 10 minutes ago.

How do I increase sudo password remember timeout?
I'd like to started with Scalatra.  For that, I need to use giter8 to generate a template project.  To install giter8, I need to install conscript first.  But doing that (at least using the runnable jar on Windows) fails with this error:


  ::::::::::::::::::::::::::::::::::::::::::::::
  
  ::          UNRESOLVED DEPENDENCIES         ::
  
  ::::::::::::::::::::::::::::::::::::::::::::::
  
  :: net.databinder.conscript#conscript_2.11;0.4.4: not found
  
  ::::::::::::::::::::::::::::::::::::::::::::::


This is with the latest conscript version.  Doesn't it support scala 2.11 yet?  Is conscript even still actively maintained?  The mailing list is dead and there's not even a stackoverflow tag.

Although I'd prefer to fix the conscript installation issue, is there an easy workaround?    Like installing giter8 without using conscript?  Or setting up scalatra without using giter8?
