Changing Sudo Password Remembering Time in Ubuntu|Debian

by M.el Khamlichi

Please share

When you use a sudo command normally the password is saved for 15 minutes, If you want to change sudo remembering time in ubuntu, you need to change the configuration of visudo. This post explain you how to change sudo remembering time in Ubuntu, debian.

It would be beneficial to state the format for the time variable in the Defaults line. I’m running on the assumption that it is in minutes since that’s the most reasonable interval to use for this option.