What is the time-out for the sudo password?

Tom H tomh0665 at gmail.com
Sat Jun 5 06:58:24 UTC 2010


On Sat, Jun 5, 2010 at 2:35 AM, Basil Chupin <blchupin at iinet.net.au> wrote:
> After using "sudo <command>" you are asked for the password. You can
> then type sudo again a number of times without being asked for the password.
>
> Does anyone know what that time period is when the password is not asked
> for? And where it could be adjusted, if need be, please?

The default is either 5mn or 15mn.

That value can be controlled through the "timestamp_timeout" in
"/etc/sudoers" on the "Defaults" line.




More information about the ubuntu-users mailing list