Re: [PATCH] sudo/plugins/suoders/sudoers2ldif: Support #include and #includedir recursively
Natale Vinto <[email protected]> Wed, 18 Oct 2017 10:15:54 +0200
| Newsgroups | gmane.comp.tools.sudo.devel |
|---|---|
| Message-ID | <CADR2yrRjhAPeo4U3Oy3hCAuY3toq0djMFkAQ4sfYnWATGCTPoQ@mail.gmail.com> |
> 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 > from. > > 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 Thanks Todd! I missed those checks, best to stay consistent with sudoers parser. Natale ____________________________________________________________ sudo-workers mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-workers