mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
use su instead of runuser since logCmd has issues with runuser
This commit is contained in:
@@ -666,7 +666,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
title "Restarting Suricata to pick up the new rules"
|
title "Restarting Suricata to pick up the new rules"
|
||||||
logCmd "so-suricata-restart"
|
logCmd "so-suricata-restart"
|
||||||
title "Downloading YARA rules"
|
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"
|
title "Restarting Strelka to use new rules"
|
||||||
logCmd "so-strelka-restart"
|
logCmd "so-strelka-restart"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user