[sudo-workers] [PATCH] sudo/plugins/suoders/sudoers2ldif: Support #include and #includedir recursively
nvinto at redhat.com
Wed Oct 18 02:15:54 MDT 2017
> Thanks, that looks great. I made a few minor changes to handle
> relative include paths, for example:
> #include sudoers.other
> should look in the same parent directory as the file it was included
> I also added checks to skip reading file with a '.' in them or that
> end in '~' when scanning an include dir. This is consistent with
> how the sudoers parser behaves.
> This has been committed as https://www.sudo.ws/repos/sudo/rev/926deea0d506
I missed those checks, best to stay consistent with sudoers parser.
More information about the sudo-workers