How to Make sudo Remember the Password for Longer using Visudo
The behaviour of sudo is configured in /etc/sudoers file and by default timeout of the sudo command is 15 minutes.
The /etc/sudoers file has a timestamp_timeout option responsible for reprompting the user for password after specific amount of time. The good news is that you can increase this number to a larger one (in minutes) by adding a string in the /etc/sudoers file. After that time sudo will ask for password again.
See How to Make sudo Remember the Password for Longer
#technology #linux #sudo #visudo
It can be annoying having to keep entering the sudo password. Here’s how you can deal with it.
https://gadgeteer.co.za/how-to-make-sudo-remember-the-password-for-longer-using-visudo/