Change password root and admin web

2,159 views
Skip to first unread message

Calvin Nguyen

unread,
Mar 2, 2023, 3:16:37 AM3/2/23
to Wazuh mailing list
Hello team. 

I'm a newbie. i installed the wazuh 4.3.10 ova. But i cannot change the pass on root and web admin. can you share me the guide line

Jeremiah Kolawole

unread,
Mar 2, 2023, 3:38:17 AM3/2/23
to Wazuh mailing list
Hello,

Firstly, as you are using Wazuh OVA, you can change the password for your machines system user wazuh-user from default password wazuh to any custom one just by running the passwd command in your OVA while logged in with wazuh-user and providing current and new password.
 
Secondly, to change the password for Wazuh indexer user (admin), you can follow the documentation here: https://documentation.wazuh.com/current/user-manual/securing-wazuh/wazuh-indexer.html 
 
For changing the password, first you have to download the wazuh-passwords-tool.sh script:

Then, run the following command:

bash wazuh-passwords-tool.sh -u admin -p <mypassword>

Please replace <mypassword> with your expected password for the user admin.

This documentation here also provides more information.

I hope this helps.

Calvin Nguyen

unread,
Mar 3, 2023, 4:00:20 AM3/3/23
to Wazuh mailing list
thank you for reply soon..
Please share me how to setup alert email

Jeremiah Kolawole

unread,
Mar 3, 2023, 4:04:17 AM3/3/23
to Wazuh mailing list
Hello Calvin,

You can find information here on how to set up email alerts.

Thank you

Randy Schultz

unread,
Mar 5, 2024, 5:35:26 AM3/5/24
to Wazuh | Mailing List
Running Wazuh OVA v4.7.2 on VirtualBox. Followed guidance from @Jeremiah above attempting to change admin password but run into an error. Here's the output from Terminal...

[wazuh-user@wazuh-server ~]$ sudo bash wazuh-passwords-tool.sh -u admin -p ••••••••••••••••••••

grep: /usr/share/wazuh-indexer/plugins/opensearch-security/securityconfig/internal_users.yml: No such file or directory

04/03/2024 22:27:11 ERROR: The given user does not exist


Can't find any other documentation related to making this change in the environment outlined above. Any assistance would be appreciated.
Reply all
Reply to author
Forward
0 new messages