Re: [sudo-workers] Padding supoort for sudoOrder increment in cvtsudoers
"Todd C. Miller" <[email protected]> Wed, 24 Oct 2018 10:14:08 -0600
| Newsgroups | gmane.comp.tools.sudo.user,gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <[email protected]> |
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