What is the time-out for the sudo password?

Basil Chupin blchupin at iinet.net.au
Sat Jun 5 07:20:37 UTC 2010


On 05/06/10 16:58, Tom H wrote:
> 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.
>    

Many thanks for the prompt response.

The "Defaults" simply has one entry, "env_reset" so I am assuming that 
the 'timestamp_timeout' has to be added in which case what is the 
correct format, please?

BC


-- 
Attorney:   All your responses MUST be oral, OK? What school did you go to?
Witness:    Oral.





More information about the ubuntu-users mailing list