Files LOCATION and init were already correct, I applied the modification on
src/headers/defs.h.
It is now operational on solaris, I am also going to operate the solution
on AIX and Linux RedHat.
Thank you Darin,
Christophe
Le jeudi 11 décembre 2014 20:16:16 UTC+1, Darin Perusich a écrit :
>
>
These are relative to the basedir of unpacked source, adjust to taste ;-)
# fix for FHS
sed -i 's%/var/ossec%/var/lib/ossec%' src/LOCATION
sed -i 's%/var/ossec%/var/lib/ossec%' src/headers/defs.h
# don't forget the init script and init config
sed -i 's%/var/ossec%/var/lib/ossec%' src/init/ossec-h
Hi All,
I meet difficulties to install ossec agent in a directory different of
/var/ossec.
During the installation I indicated a new target directory /mycustomdir.
I find it in
*:~/ossec-hids-2.8.1/src/Config.OS*
*CEXTRA= -DDEFAULTDIR=\"/mycustomdir\" -DCLIENT*
However the makefile of generat