set ossec user's home path

This commit is contained in:
forana
2018-10-11 17:53:38 -05:00
parent 6652736b62
commit 14db93571e

View File

@@ -15,7 +15,7 @@ RUN curl --silent --location https://deb.nodesource.com/setup_8.x | bash -
# Creating ossec user as uid:gid 1000:1000
RUN groupadd -g 1000 ossec
RUN useradd -u 1000 -g 1000 ossec
RUN useradd -u 1000 -g 1000 -d /var/ossec ossec
# Configure postfix
RUN echo "postfix postfix/mailname string wazuh-manager" | debconf-set-selections