How can I disable root password caching? I looked at This Question, but I didn't really understand how to do it, is not the same as my question but it is indirectly related.
I tried adding this to /etc/sudoers
:
timestamp_timeout=0
But it gave me:
>>> /etc/sudoers: syntax error near line 46 <<<
So I just pressed x
. 46 is the line where I added it, so there isn't a problem with anything else.
Defaults timestamp_timeout=0
. That is, you forgot theDefaults
!