[sudo-users] Force certain command_timeout for some commands

Markus Linnala Markus.Linnala at cybercom.com
Fri Oct 19 07:12:44 MDT 2018


Ok, thank you.
________________________________
From: Todd C. Miller <Todd.Miller at sudo.ws>
Sent: Thursday, October 18, 2018 5:12:57 PM
To: Markus Linnala
Cc: sudo-users at sudo.ws
Subject: Re: [sudo-users] Force certain command_timeout for some commands

On Wed, 17 Oct 2018 14:31:41 -0000, Markus Linnala wrote:

> sudoers manual says: If a timeout is specified both in the sudoers file and
> on the command line, the smaller of the two timeouts will be used.
> So I assume if -T is not defined, then its value is set to 0 and that is
> less than my value and it disables command_timeout handling.

That's a bug, thanks for reporting it.  I've just committed a fix
for this:

    https://www.sudo.ws/repos/sudo/rev/6b08b3b918b7

 - todd


More information about the sudo-users mailing list