Re: [sudo-workers] Padding supoort for sudoOrder increment in cvtsudoers
Daniele Palumbo <[email protected]> Thu, 25 Oct 2018 13:23:56 +0200
| Newsgroups | gmane.comp.tools.sudo.user,gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
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" <[email protected]> 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 ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users