diff options
-rw-r--r-- | config/snort/snort.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index d4af6b85..cd2f9946 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -253,8 +253,8 @@ function snort_postinstall() exec('/bin/mkdir -p /usr/local/etc/snort/custom_rules/'); } - exec('/usr/sbin/pw groupadd snort'); - exec('/usr/sbin/pw useradd snort -c "SNORT USER" -d /nonexistent -g snort -s /sbin/nologin'); + exec('/usr/sbin/pw groupadd snort -g 920'); + exec('/usr/sbin/pw useradd snort -u 920 -c "Snort User" -d /nonexistent -g snort -s /sbin/nologin'); exec('/usr/sbin/chown -R snort:snort /var/log/snort'); exec('/usr/sbin/chown -R snort:snort /usr/local/etc/snort'); exec('/usr/sbin/chown -R snort:snort /usr/local/lib/snort'); |