forked from wazuh/wazuh-docker
Add Wazuh-Elasticsearch (#106)
This commit is contained in:
committed by
Jesús Linares
parent
046b2f049b
commit
cb2e49eb54
@@ -129,4 +129,19 @@ do
|
||||
exec_cmd_stdout "${CUSTOM_COMMAND}"
|
||||
done
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Change Wazuh API user credentials.
|
||||
##############################################################################
|
||||
|
||||
|
||||
pushd /var/ossec/api/configuration/auth/
|
||||
|
||||
echo "Change Wazuh API user credentials"
|
||||
change_user="node htpasswd -b -c user $API_USER $API_PASS"
|
||||
eval $change_user
|
||||
|
||||
popd
|
||||
|
||||
|
||||
/sbin/my_init
|
||||
|
||||
Reference in New Issue
Block a user