Wazuh - Default Login Credentials not working #2069

Closed
opened 2025-11-20 05:22:49 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @andreasgapsch on GitHub (Oct 11, 2025).

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Wazuh

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/wazuh.sh)"

⚙️ What settings are you using?

  • Advanced Settings
  • Default Settings

🖥️ Which Linux distribution are you using?

Debian 13

📈 Which Proxmox version are you on?

9.0.4

📝 Provide a clear and concise description of the issue.

I used the default installation for the wazuh script and installation worked as expected but im not able to login. I tried the following:

🔄 Steps to reproduce the issue.

Setp 1: Install LXC
Setp2: Go to Login Page https://192.168.1.xx/app/login? and try to login

Paste the full error output (if available).

For the user root without password, just nothing happens.
For all other combinations: Invalid username or password. Please try again.

🖼️ Additional context (optional).

No response

Originally created by @andreasgapsch on GitHub (Oct 11, 2025). ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Wazuh ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/wazuh.sh)" ### ⚙️ What settings are you using? - [x] Advanced Settings - [ ] Default Settings ### 🖥️ Which Linux distribution are you using? Debian 13 ### 📈 Which Proxmox version are you on? 9.0.4 ### 📝 Provide a clear and concise description of the issue. I used the default installation for the wazuh script and installation worked as expected but im not able to login. I tried the following: - root (as described as Default Login Credentials) - specified root / password set for LXC - admin / admin - wazuh / wazuh (as defined in the https://packages.wazuh.com/4.13/wazuh-install.sh script) ### 🔄 Steps to reproduce the issue. Setp 1: Install LXC Setp2: Go to Login Page https://192.168.1.xx/app/login? and try to login ### ❌ Paste the full error output (if available). For the user root without password, just nothing happens. For all other combinations: Invalid username or password. Please try again. ### 🖼️ Additional context (optional). _No response_
saavagebueno added the bugexternal labels 2025-11-20 05:22:49 -05:00
Author
Owner

@MickLesk commented on GitHub (Oct 11, 2025):

Wazuh is an external installer, you should Report this in there repo

There Shellscript say: wazuh wazuh

Or cat ~/wazuh.creds

@MickLesk commented on GitHub (Oct 11, 2025): Wazuh is an external installer, you should Report this in there repo There Shellscript say: wazuh wazuh Or cat ~/wazuh.creds
Author
Owner

@andreasgapsch commented on GitHub (Oct 11, 2025):

I tried the default credentials of the script and they do not work as described. Also root is mentioned as a default in the VE helper script documentation which is not working and "cat ~/wazuh.creds" is not giving back anything.

https://community-scripts.github.io/ProxmoxVE/scripts?id=wazuh

Based on the Helper Script I also would expect any password return but there is nothing during or after installation.

msg_info "Setup Wazuh"
curl -fsSL https://packages.wazuh.com/$RELEASE/wazuh-install.sh -o wazuh-install.sh
chmod +x wazuh-install.sh
if [ "$STD" = "silent" ]; then
  bash wazuh-install.sh -a >>~/wazuh-install.output
else
  bash wazuh-install.sh -a | tee -a ~/wazuh-install.output
fi
cat ~/wazuh-install.output | grep -E "User|Password" | awk '{$1=$1};1' | sed '1i wazuh-credentials' >~/wazuh.creds
msg_ok "Setup Wazuh"

https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/wazuh-install.sh

@andreasgapsch commented on GitHub (Oct 11, 2025): I tried the default credentials of the script and they do not work as described. Also root is mentioned as a default in the VE helper script documentation which is not working and "cat ~/wazuh.creds" is not giving back anything. https://community-scripts.github.io/ProxmoxVE/scripts?id=wazuh Based on the Helper Script I also would expect any password return but there is nothing during or after installation. ``` msg_info "Setup Wazuh" curl -fsSL https://packages.wazuh.com/$RELEASE/wazuh-install.sh -o wazuh-install.sh chmod +x wazuh-install.sh if [ "$STD" = "silent" ]; then bash wazuh-install.sh -a >>~/wazuh-install.output else bash wazuh-install.sh -a | tee -a ~/wazuh-install.output fi cat ~/wazuh-install.output | grep -E "User|Password" | awk '{$1=$1};1' | sed '1i wazuh-credentials' >~/wazuh.creds msg_ok "Setup Wazuh" ``` https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/install/wazuh-install.sh
Author
Owner

@MickLesk commented on GitHub (Oct 11, 2025):

cd /root

ls -la

@MickLesk commented on GitHub (Oct 11, 2025): cd /root ls -la
Author
Owner

@andreasgapsch commented on GitHub (Oct 12, 2025):

Thanks, this worked. Documentation should be updated, as root or the credentials in the external scripts are missleading. :-)

You can execute the following to get the credentials to login to the Wazuh ct.

cd /root && cat ~/wazuh.creds

@andreasgapsch commented on GitHub (Oct 12, 2025): Thanks, this worked. Documentation should be updated, as root or the credentials in the external scripts are missleading. :-) You can execute the following to get the credentials to login to the Wazuh ct. ``cd /root && cat ~/wazuh.creds``
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2069