Re: Multiple I/O Plugins

Bryan Christ <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <CAPQiZK-7yQyzrNuhxRdcG+b2crJ5aK=64OZrzp_+U8Sg-BgHcg@mail.gmail.com>
On the policy plugin, since it only supports one, would it be reasonable to:

1.  Do our logic inside policy_check() and then (if necessary)...
2.  Load the default plugin (via dlopen and friends)?

Is there anything wrong with that approach?

On Fri, Mar 1, 2019 at 10:39 AM Todd C. Miller <[email protected]> wrote:

> On Fri, 01 Mar 2019 10:30:36 -0600, Bryan Christ wrote:
>
> > Does the plugin framework allow for multiple I/O plugins or is it an
> > exclusive situation?
>
> Yes, multiple I/O logging plugins are supported.  They are called
> in the order they appear in sudo.conf.  Only one policy plugin is
> supported, however.
>
>  - todd
>


-- 
Bryan
<><
____________________________________________________________
sudo-users mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.