Submitted by ggarron on Mon, 02/09/2009 - 22:44
You may know that if you type
sudo [command]
Your password will be asked, but if you type it again in a few seconds, it will not be asked, because Linux "remember" your password for some time, well if you are really concerned about this, you may force Linux to "forget" your password inmediately.
How to do it?
sudo visudo
And add this line:
Defaults timestamp_timeout = 0
You may change 0 to any number representing the minutes you may want your password to be "remembered", or let in 0 so you will need to type your password each time you type sudo
If this was useful for you, please consider making a donation, any amount is welcome, please proceed by clicking on the yellow donate button, thank you in advance.






Thanks for the tip - I actually want to increase the timeout. Since I am a desktop user, I care more about convenience than about security.