Skip to content
This repository was archived by the owner on Apr 19, 2021. It is now read-only.

redirect iostreams to logfile during ossec-agent restart #10

Merged
merged 1 commit into from
Sep 28, 2016
Merged

Conversation

petiepooo
Copy link
Contributor

Redirect output of mkdir and chown lines to logfile.

Without this, if SecurityOnion is installed on Ubuntu Server but not yet configured, the user sguil does not exist yet, and cron generates a daily email with "chown: invalid user: ???sguil???" when running nsm_sensor_ps-restart --only-ossec-agent from /etc/cron.d/sensor-newday file.

Redirect output of mkdir and chown lines to logfile.

Without this, if SecurityOnion is installed on Ubuntu Server but not yet configured, the user sguil does not exist yet, and cron generates a daily email with "chown: invalid user: ???sguil???" when running nsm_sensor_ps-restart --only-ossec-agent from /etc/cron.d/sensor-newday file.
@dougburks
Copy link
Contributor

Thanks, Pete!

@dougburks dougburks merged commit aa80b1d into Security-Onion-Solutions:master Sep 28, 2016
dougburks pushed a commit that referenced this pull request Jan 4, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants