for nano use:
sudo visudo
or
for gedit use:
sudo env EDITOR=gedit visudo
add in line with number of minutes to timeout
,timestamp_timeout=5
Watch video Change Sudo Session Timeout Limit - Linux Mint 8 online, duration hours minute second in high quality that is uploaded to the channel gotbletu 23 April 2010. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 3,221 times and liked it 27 visitors.