Revert create_user.py script deletion

This commit is contained in:
Enrique Araque
2024-10-03 13:18:25 +02:00
parent af023a9b44
commit 92d0582201

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