From f22c61a0a22a8d0d02b794816cf73d1e58c7e11d Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Mon, 10 Jul 2023 15:19:41 -0400 Subject: [PATCH] use su instead of runuser since logCmd has issues with runuser --- setup/so-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-setup b/setup/so-setup index 23cc5edec..62758d1a0 100755 --- a/setup/so-setup +++ b/setup/so-setup @@ -666,7 +666,7 @@ if ! [[ -f $install_opt_file ]]; then title "Restarting Suricata to pick up the new rules" logCmd "so-suricata-restart" title "Downloading YARA rules" - logCmd "runuser -l socore '/usr/sbin/so-yara-download'" + logCmd "su socore -c '/usr/sbin/so-yara-download'" title "Restarting Strelka to use new rules" logCmd "so-strelka-restart" fi