From a61c1806a61812e0894c4ca2d511e43e840d6e36 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Tue, 8 Dec 2009 21:58:16 +0000 Subject: [PATCH] timeouts can be floats now --- sudoers.pod | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sudoers.pod b/sudoers.pod index 09c66481e..de988f8b9 100644 --- a/sudoers.pod +++ b/sudoers.pod @@ -922,13 +922,16 @@ C<@loglen@> (use 0 or negate the option to disable word wrap). =item passwd_timeout Number of minutes before the B password prompt times out. -The default is C<@password_timeout@>; set this to C<0> for no password timeout. +The timeout may include a fractional component if minute granularity +is insufficient, for example C<2.5>. The default is C<@password_timeout@>; +set this to C<0> for no password timeout. =item timestamp_timeout Number of minutes that can elapse before B will ask for a -passwd again. The default is C<@timeout@>. Set this to C<0> to always -prompt for a password. +passwd again. The timeout may include a fractional component if +minute granularity is insufficient, for example C<2.5>. The default +is C<@timeout@>. Set this to C<0> to always prompt for a password. If set to a value less than C<0> the user's timestamp will never expire. This can be used to allow users to create or delete their own timestamps via C and C respectively.