Snort mailing list archives

Re: Fatal Error OpenLogFile


From: "J. C. Woods" <drjung () sprynet com>
Date: Wed, 25 Jul 2001 15:49:20 -0500

Hmmm,

Are you sure you want to do this? For security reason, I would start the
snort daemon to be owned by snort, and have "/var/log/snort" owned by
snort too. At least this method works well for me....

drjung


Chris Owen wrote:

If the directory doesn't exist, create it with

mkdir -p /var/log/snort

If you're running snort as root try root:root and 700.

chown -R root /var/log/snort
chgrp -R root /var/log/snort
chmod 700 /var/log/snort

If you're running snort as a different user (with the -u switch when
starting snort) then you will need to have the directory owned by that user.

 Chris.

-----Original Message-----
From: Scott [mailto:scottr () vdot net]
Sent: Wednesday, July 25, 2001 12:39 PM
To: snort-users () lists sourceforge net
Subject: [Snort-users] Fatal Error OpenLogFile

What should the permissions and owner/group of the /var/log/snort directory?

If keep getting FATAL ERROR: ERROR: OpenLogFile() =>
mkdir(/var/log/snort/xx.xxx.xxx.xx) log directory: Permission denied and
then snort dies.

TIA

Scotty

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
http://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: