Make sudo ask for your password every time
When you use “
sudo“, it remembers your password for some minutes, thus if you call “
sudo” within this time frame again, it won’t ask your password.
However, I want “
sudo” to ask my password every time I call it.
Execute the command “
sudo visudo” and add the following line to the end of the “
The value “
0” means it won’t cache your password.
Tip from here.