I often need to run commands with sudo during development and since my password is lengthy I don't like to type it every time sudo times out which by default is 5 minutes.
To deal with that I've run sudo visudo and have set Defaults timestamp_timeout=15 (15 minutes)
However I'm still not happy with that and considering to increase it to at least 1h.
What are the security implications if any to increase it?
I also want to know whether the terminal could be injected by malicious process and execute commands in it as root while timeout has still not run out.
And of course I'm interested in any other issues that might arise from it.
rmall the time)