Merge pull request #10131 from Security-Onion-Solutions/m0duspwnens-patch-1

USER=root no longer needed for so-status cron
This commit is contained in:
Josh Patterson
2023-04-14 16:23:27 -04:00
committed by GitHub

View File

@@ -209,7 +209,7 @@ sostatus_log:
# Install sostatus check cron. This is used to populate Grid. # Install sostatus check cron. This is used to populate Grid.
so-status_check_cron: so-status_check_cron:
cron.present: cron.present:
- name: 'USER=root /usr/sbin/so-status -j > /opt/so/log/sostatus/status.log 2>&1' - name: '/usr/sbin/so-status -j > /opt/so/log/sostatus/status.log 2>&1'
- identifier: so-status_check_cron - identifier: so-status_check_cron
- user: root - user: root
- minute: '*/1' - minute: '*/1'