glensc / nagios-plugin-check_raid

Nagios/Icinga/Sensu plugin to check current server's RAID status ⛺
144 stars 84 forks source link

fix parse sudoers includedir #209

Closed kurita0 closed 2 years ago

kurita0 commented 2 years ago

@includedir directive can be used in sudoers file.

https://www.sudo.ws/man/1.9.1/sudoers.man.html#Including_other_files_from_within_sudoers

It is possible to include other sudoers files from within the sudoers file currently being parsed using the @include and @includedir directives. For compatibility with sudo versions prior to 1.9.1, #include and #includedir are also accepted.