Why do you need it 'world readable' ? You just need to add the nagios user to the ossec group.
On Mon, Jun 27, 2016 at 1:33 PM, Tahir Hafiz <[email protected]> wrote: > The permissions on the alerts.log are thus: > -rw-r----- 2 ossec ossec 13949 Jun 27 17:07 alerts.log > > > However, we need our Nagios nrpe agent (nagios user) to be able to read > the file and then alert depending on the level that we have set for it to > parse and alert on. > Can anyone think of any problems making it world readable? I don't believe > there is anything sensitive put in that file. > > The alternative would be to make the nagios user part of the ossec group, > however, this means that nagios user would have power over the ossec > process and files. > > > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "ossec-list" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- --- You received this message because you are subscribed to the Google Groups "ossec-list" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
