Re: [Snort-users] Problem with permissions when snort ran as user "snort"

This is a discussion on Re: [Snort-users] Problem with permissions when snort ran as user "snort" within the Snort forums, part of the System Security and Security Related category; Exactly a comment I stated a while back. Why doesn't Snort set ownership of log files to snort but ...


Go Back   Usenet Forums > System Security and Security Related > Snort

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-09-2005
Evan J
 
Posts: n/a
Default Re: [Snort-users] Problem with permissions when snort ran as user "snort"

Exactly a comment I stated a while back. Why doesn't Snort set
ownership of log files to snort but root? I understand that in most
systems `root' account has privilege to run pcap in premiscuous mode
but what about the actual writing to the log files?

Sp0ng3 B0b, What is bridge0? Is it the actual name of your interface?
Shouldn't it be ep0, xl0, or dc0? Excuse my ignorance for I don't use
OpenBSD...

On 9/9/05, Sp0ng3 B0b <sp0ng3b0b@sbcglobal.net> wrote:
> I'm running snort 2.4 on an OpenBSD 3.7 IDS.
>=20
> Snort is started like so:
>=20
> snort -c /etc/snort/snort.conf -i bridge0 -l
> /var/log/snort -u snort -g snort -D
>=20
> The user snort owns /var/log/snort.
>=20
> Unfortunately, the logfiles permissions are wrong:
>=20
> drwxr-xr-x 2 snort snort 512 Sep 9 07:01 .
> drwxr-xr-x 3 snort snort 512 Aug 3 22:00 ..
> -rw------- 1 root snort 2256 Sep 9 07:07
> snort.alert.1126274487
> -rw------- 1 root snort 39261 Sep 9 07:07
> snort.log.1126274487
>=20
> What am I missing here?
>=20
>=20
>=20
>=20
>=20
>=20
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=

es
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & Q=

A
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Snort-users mailing list
> Snort-users@lists.sourceforge.net
> Go to this URL to change user options or unsubscribe:
> https://lists.sourceforge.net/lists/...fo/snort-users
> Snort-users list archive:
> http://www.geocrawler.com/redir-sf.p...=3Dsnort-users
>



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Snort-users mailing list
Snort-users@lists.sourceforge.net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/...fo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.p...st=snort-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:48 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0