I am getting a Snort ’Oink Oink’ error, how do I fix it?

If you are getting the following error:

Loading /var/ipcop/snort/oinkmaster.conf  
 
/usr/local/bin/oinkmaster.pl: Error: the output directory "/etc/snort/rules" isn’t writable by you.  
 
Oink oink. Exiting...

You need to do the following:

      cd /etc/snort  
      chown snort:snort rules  
      cd rules  
      chown snort:snort *.*  
      chown snort:snort * 
faq/using/snort.txt · Last modified: 2008/09/24 00:05 by ds531