summaryrefslogtreecommitdiffstats
path: root/main/snort/snort.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'main/snort/snort.pre-install')
-rw-r--r--main/snort/snort.pre-install4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/snort/snort.pre-install b/main/snort/snort.pre-install
new file mode 100644
index 000000000..e1555163a
--- /dev/null
+++ b/main/snort/snort.pre-install
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+adduser -h /var/log/snort -s /bin/false -D snort 2>/dev/null
+exit 0