Snort mailing list archives
Re: Log file owned by root problem
From: Bamm Visscher <bamm () satx rr com>
Date: Thu, 6 May 2004 13:51:36 -0500
All of the file descriptors or opened prior to releasing the root privs. You can run with -m 022 to at least change the umask on the files. IIRC, Chris Green went back and forth over this a few times many releases ago (when to drop privs). Bammkkkk On Thu, May 06, 2004 at 01:53:50PM -0400, bitless () rcn com wrote:
Hi, Snort seems to start fine but the problem is when the log files are written the uid/gid is root/root I need them to be snort/snort. My startup line is as follows, snort -c /etc/snort/snort_eth0/snort.conf -i eth0 -u snort -g snort Shouldn't this output a log file with uid/gid snort/snort. All dirs and files are uid/gid snort/snort and anything else I could think of. If anyone has any suggestion I would greatly appreciate them. TIA Dan
------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Log file owned by root problem bitless (May 06)
- Re: Log file owned by root problem sgt_b (May 06)
- Re: Log file owned by root problem Matt Kettler (May 06)
- Re: Log file owned by root problem Bamm Visscher (May 06)
- <Possible follow-ups>
- Log file owned by root problem bitless (May 10)
- RE: Log file owned by root problem SRH-Lists (May 10)