You can change sudo Password Remembering Time in Ubuntu .
Open a terminal and type
$ sudo visudo
In Ubuntu, visudo uses nano text editor, and what it does is edit the / etc / sudoers.tmp
Check for the line as shown below
Change it to
Defaults env_reset , timestamp_timeout = X
Where X is the time that we remember the sudo password, if we put 0 (zero) that we always get the request.
Finally to save the changes, press Ctrl + X and said yes.
2 comments:
Nice, but why are refering to ubuntu, this is a general tool used in almost every linux distribution. It has nothing to do with ubuntu actually :)
What time frame is "X"? Is that minutes? Seconds? Milliseconds?
Post a Comment