public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] suricata: Run as non-root user
@ 2019-03-02 17:26 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2019-03-02 17:26 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

This patch does not have any effect (yet) and is untested
because suricata needs to be built against libcap-ng which
is currently not being packaged for IPFire.

Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
---
 config/suricata/suricata.yaml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml
index 8b4ab8c3b..3701fe9c6 100644
--- a/config/suricata/suricata.yaml
+++ b/config/suricata/suricata.yaml
@@ -268,6 +268,15 @@ asn1-max-frames: 256
 ##
 ##############################################################################
 
+##
+## Run Options
+##
+
+# Run suricata as user and group.
+run-as:
+  user: nobody
+  group: nobody
+
 # Suricata core dump configuration. Limits the size of the core dump file to
 # approximately max-dump. The actual core dump size will be a multiple of the
 # page size. Core dumps that would be larger than max-dump are truncated. On
-- 
2.12.2


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-02 17:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-02 17:26 [PATCH] suricata: Run as non-root user Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox