Do you mean the delay between when you need to re-enter the superuser password?
I found this via an LLM:
To change the delay before needing to re-enter your sudo password, follow these steps:
Open the terminal and run:
sudo visudo
Locate the line:
Defaults env_reset
Add the following line below it:
Defaults timestamp_timeout=<time-in-minutes>
Replace <time-in-minutes> with the desired timeout in minutes (e.g., 30 for 30 minutes). Setting it to 0 requires a password every time, while a negative value disables the timeout entirely.
Do you mean the delay between when you need to re-enter the superuser password?
I found this via an LLM:
To change the delay before needing to re-enter your
sudo
password, follow these steps:Open the terminal and run:
sudo visudo
Locate the line:
Add the following line below it:
Defaults timestamp_timeout=<time-in-minutes>
Replace
<time-in-minutes>
with the desired timeout in minutes (e.g.,30
for 30 minutes). Setting it to0
requires a password every time, while a negative value disables the timeout entirely.