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