Re: Force certain command_timeout for some commands

Markus Linnala <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <DB6PR1001MB14638E0BD99036F4C352325DEFF90@DB6PR1001MB1463.EURPRD10.PROD.OUTLOOK.COM>
Ok, thank you.
________________________________
From: Todd C. Miller <[email protected]>
Sent: Thursday, October 18, 2018 5:12:57 PM
To: Markus Linnala
Cc: [email protected]
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
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.