Merge pull request #1526 from wazuh/enhancement/1520-revert-create_user.py-script-deletion

Revert create_user.py script deletion
This commit is contained in:
Carlos Bordon
2024-09-13 14:27:14 -03:00
committed by GitHub

View File

@@ -93,7 +93,6 @@ EOF
if /var/ossec/framework/python/bin/python3 /var/ossec/framework/scripts/create_user.py; then
# remove json if exit code is 0
rm /var/ossec/api/configuration/admin.json
rm /var/ossec/framework/scripts/create_user.py
else
echored "There was an error configuring the API user"
# terminate container to avoid unpredictable behavior