Citation :
Q: Can I make the plugin run as another user/group than nobody/nogroup?
Yes, you can create a file in the plugin configuration directory (client-conf.d). The file should contain the username and group to run the plugin as. E.g., on linux, the exim_mailqueue-plugin need access to the exim mail spool (to count the messages in the queue). It needs mail group permissions to do this, so the exim_mailqueue.auth contents look like:
Citation :
[exim_mailqueue]
group mail
|
Similarly, you could use the user option to run the plugin as a user. If more than one group is needed, or some of the groups only exist on certain hosts (and you want a common config file), the syntax supports this:
Citation :
[some_plugin]
group mail,adm,group1,group2,(group3_that_might_not_exist)
|
|