Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Need to run snort as non-root user #296

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 3 comments
Closed

Need to run snort as non-root user #296

GoogleCodeExporter opened this issue Mar 24, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

Need to run snort as non-root user

Original issue reported on code.google.com by doug.bu...@gmail.com on 24 Feb 2013 at 9:16

@GoogleCodeExporter
Copy link
Author

Updated nsm_sensor_ps-start as follows:
[ -z "$SKIP_SNORT_ALERT" ] && process_start "snort" "-c $SNORT_CONFIG -u 
$SENSOR_USER -g $SENSOR_GROUP -i $SENSOR_INTERFACE_SHORT -F 
/etc/nsm/$SENSOR/bpf-ids.conf -l $UNI_DIR --perfmon-file $PERFMON 
$SNORT_OPTIONS" "$PID" "$LOG" "snort-$i (alert data)"

Updated nsm_sensor_ps-restart as follows:
[ -z "$SKIP_SNORT_ALERT" ] && $ACTION "snort" "-c $SNORT_CONFIG -u $SENSOR_USER 
-g $SENSOR_GROUP -i $SENSOR_INTERFACE_SHORT -F /etc/nsm/$SENSOR/bpf-ids.conf -l 
$UNI_DIR --perfmon-file $PERFMON $SNORT_OPTIONS" "$PID" "$LOG" "snort-$i (alert 
data)"

Original comment by doug.bu...@gmail.com on 26 Feb 2013 at 5:10

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Tested by Matt Gregory and GabrielS.

Original comment by doug.bu...@gmail.com on 26 Feb 2013 at 5:11

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Copied to Stable PPA.

Original comment by doug.bu...@gmail.com on 26 Feb 2013 at 5:15

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant