Configure sudo to cache credentials

Question:
Configure sudo such that sudo credentials will be cached for 6 hours after entering them the first time

Answer:
Open sudo editor:

sudo visudo
Add:
Defaults timestamp_type=global,timestamp_timeout=360
Save and quit