Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set ossec user's home path #61

Merged
merged 1 commit into from
Nov 6, 2018
Merged

Set ossec user's home path #61

merged 1 commit into from
Nov 6, 2018

Conversation

forana
Copy link
Contributor

@forana forana commented Oct 12, 2018

ossec expected its user's home directory to be /var/ossec. (ossec's old docs (mentioned this in passing)[https://www.ossec.net/docs/manual/agent/agentless-monitoring.html], but I haven't found it anywhere in wazuh's docs yet).

wazuh/wazuh doesn't specify a home directory at all for the ossec user, meaning that it defaults to /home/ossec, which doesn't exist. This means that the ssh-keygen command in the agentless How It Works section can't be followed. I've made it so /var/ossec is the home directory.

@SitoRBJ SitoRBJ self-requested a review November 6, 2018 09:18
Copy link
Contributor

@SitoRBJ SitoRBJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @forana,

We have reviewed and tested your contributions and it has been a success. The containers keep getting up without any problem and the ossec user already has a directory.

Your contributions have been very valuable, thank you very much for everything. We proceed to merge the code.

Best regards,

Alfonso Ruiz-Bravo

@SitoRBJ SitoRBJ merged commit 92cfd70 into wazuh:master Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants