On Fri, Jul 18, 2014 at 5:11 AM, Alexander Pietrasch <[email protected]> wrote: > Hallo all together, > > i want to make mass deployment and i found in the > "/opt/ossec-hids-2.8/src/InstallAgent.sh" at Line 226 the Line "cp -pr > ../etc/ossec.mc ${DIR}/etc/ossec.conf" > It copies the file ossec.mc to a directory ot /etc/ossec.conf. > > So my Question is, can i change the ossec.mc, transfer it to other system, > execute the install.sh and all Clients have the same > /var/ossec/etc/ossec.conf File? > > My Idea behind that is, that i make a tar-ball with some changes in the > /opt/ossec-hids-2.8/etc/preloaded-vars.conf and changes in the ossec.mc File > so that the installation gets fully automatic. > > > The Config on each client should be the following: > > <ossec_config> > <client> > <server-ip>192.168.XXX.XXX</server-ip> > <config-profile>StandardClientconfig</config-profile> > </client> > </ossec_config> >
Try it and find out. I don't see why not. > -- > > --- > 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.
