Snort mailing list archives
Re: non-root user cannot run snort
From: Erwin Van de Velde <erwin.vandevelde () ua ac be>
Date: Mon, 26 Jan 2004 17:44:20 +0100
Hi, Snort listens in promiscuous mode to the interface, and this is only allowed to the root user. So, indeed no user other than root can use snort this way. Greetings, Erwin Van de Velde Student of University of Antwerp Belgium On Monday 26 January 2004 17:08, Robert Storey wrote:
I'm very new at using Snort, so forgive the ignorance :-( I want to run Snort as some other user than root. Unfortunately, I only have success as root. As a normal user "bob", this is what happens: bob@sonic:~> snort -dev -l ./log Running in packet logging mode Log directory = ./log Initializing Network Interface eth0 ERROR: OpenPcap() device eth0 open: socket: Operation not permitted Fatal Error, Quitting.. The "log" file does indeed belong to user bob, so the error can't be that. If I repeat the operation as root, I have success: root@sonic:~# snort -dev -l ./log Running in packet logging mode Log directory = ./log Initializing Network Interface eth0 --== Initializing Snort ==-- Initializing Output Plugins! Decoding Ethernet on interface eth0 --== Initialization Complete ==-- -*> Snort! <*- Version 2.1.0 (Build 9) By Martin Roesch (roesch () sourcefire com, www.snort.org) I'd be very happy to hear any suggestions. Thanks in advance, Robert ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ 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:
- non-root user cannot run snort Robert Storey (Jan 26)
- Re: non-root user cannot run snort Edin Dizdarevic (Jan 26)
- Re: non-root user cannot run snort Erwin Van de Velde (Jan 26)
- Re: non-root user cannot run snort d_greenjr (Jan 26)
- Re: non-root user cannot run snort Robert Storey (Jan 27)
- Re: non-root user cannot run snort Robert Storey (Jan 27)
- Re: non-root user cannot run snort Matt Kettler (Jan 27)
- Re: non-root user cannot run snort Robert Storey (Jan 27)
- Re: non-root user cannot run snort Edin Dizdarevic (Jan 29)
- Re: non-root user cannot run snort Edin Dizdarevic (Jan 27)
- Re: non-root user cannot run snort Matt Kettler (Jan 27)
- Re: non-root user cannot run snort Brian (Jan 31)
- <Possible follow-ups>
- RE: non-root user cannot run snort Grime, Richard S (Jan 26)
- location to download barnyard samwun (Jan 26)