Skip to content

Commit

Permalink
print on console the wazuh user password
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosALgit committed May 17, 2024
1 parent c299d71 commit 8bf06b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions unattended_installer/passwords_tool/passwordsFunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ function passwords_changePassword() {
fi
fi

if [ -n "${wazuh}" ]; then
for i in "${!api_users[@]}"; do
if [ "${api_users[i]}" == "wazuh" ]; then
common_logger "The password for user ${api_users[i]} is ${api_passwords[i]}"
fi
done
fi

}

function passwords_changePasswordApi() {
Expand Down

0 comments on commit 8bf06b6

Please sign in to comment.