reg password change

22 views
Skip to first unread message

Monesh

unread,
May 15, 2026, 5:17:49 AM (2 days ago) May 15
to Wazuh | Mailing List
i got new password generated while installing components from official documentation. the password is too big so i want to change the password.so give me possible ways

Md. Nazmur Sakib

unread,
May 15, 2026, 5:30:09 AM (2 days ago) May 15
to Wazuh | Mailing List

Hello Monesh,


To change the admin password that you use for login to the web interface. Run this command on your indexer server

Open a terminal on your Wazuh indexer server and run this command.

bash /usr/share/wazuh-indexer/plugins/opensearch-security/tools/wazuh-passwords-tool.sh -u admin -p Secr3tP4ssw*rd


Replace the Secr3tP4ssw*rd with your password.



The password must have a length between 8 and 64 characters and contain at least one upper case letter, one lower case letter, a number and one of the following symbols: .*+?-.

Ref: Password management
If you use the tool in an all-in-one deployment (all components of Wazuh installed on the same server), it automatically updates the passwords where necessary. If you use it in a distributed environment, you may have to update the password on other components.



For admin users, you just need to update the password in the filebeat and Wazuh manager’s keystore.

Open a terminal on the Wazuh manager keystore and run this command.


echo <ADMIN_PASSWORD> | filebeat keystore add password --stdin --force

echo '<ADMIN_PASSWORD>' | /var/ossec/bin/wazuh-keystore -f indexer -k password


Restart Filebeat to apply the changes.

systemctl restart filebeat


See Changing the passwords in a distributed environment for more details.

Read this document if you want to change the other users.
Password management - User administration



Let me know if this works for you or if you need any further help with this.
Reply all
Reply to author
Forward
0 new messages