[sudo-users] [sudo-workers] Padding supoort for sudoOrder increment in cvtsudoers

Daniele Palumbo daniele at retaggio.net
Thu Oct 25 05:23:56 MDT 2018


Thanks Todd,

I have tested your patch and the output seems is same.
So working for me too!

Thank you very much!



Il 24 ottobre 2018 18:14:08 CEST, "Todd C. Miller" <Todd.Miller at sudo.ws> ha scritto:
>On Wed, 24 Oct 2018 00:14:05 +0200, Daniele Palumbo wrote:
>
>> I am so going to
>> - fix the padding based on number of digits
>> - thrown an error if the sudoOrder padded number is reaching the
>upper limit 
>> of the padding digits provided. Based on a quick view of  the code,
>this be e
>> asily done when some output has been already written, not so easy
>before the 
>> output is started to be written.
>>
>> Before digging, do you think there is a cleaver method to stop with
>error bef
>> ore writing some output?
>
>I don't think there is a good way to check the limit until the
>output is written.
>
>I've updated https://bugzilla.sudo.ws/show_bug.cgi?id=856 with an
>updated patch that works for me.
>
> - todd


More information about the sudo-users mailing list