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

Error in Wazuh Docker startup #1000

Merged
merged 1 commit into from
Sep 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build-docker-images/wazuh-manager/config/create_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


try:
from wazuh.rbac.orm import create_rbac_db
from wazuh.rbac.orm import check_database_integrity
from wazuh.security import (
create_user,
get_users,
Expand Down Expand Up @@ -69,7 +69,7 @@ def disable_user(uid):
username, password = read_user_file()

# create RBAC database
create_rbac_db()
check_database_integrity()

initial_users = db_users()
if username not in initial_users:
Expand Down
Loading