How to Make sudo Remember the Password for Longer
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 https://linuxiac.com/make-sudo-remember-password-longer/
#technology #linux #sudo #visudo
https://linuxiac.com/make-sudo-remember-password-longer/















