0

how can I disactivate to keep in memory the sudo passoword once I have use it in the terminal? For example, when I type "sudo apt update" it asks me the sudo password, but then, when I type "sudo apt upgrade" it doesn't ask it. I would like to type it every time I use sudo.

Thanks!

Emma Athan
  • 329
  • 1
  • 2
  • 9

1 Answers1

0

Set in /etc/sudoers line:

Defaults timestamp_timeout=0

This will totally disable caching the passwords in sudo

Romeo Ninov
  • 6,538
  • 1
  • 22
  • 31