Skip to content

Commit

Permalink
Merge pull request #2461 from wazuh/bug/2454-fix-installation-assista…
Browse files Browse the repository at this point in the history
…nt-internal-users-change

Update the `internal_users.yml` file when passwords change
  • Loading branch information
teddytpc1 authored Sep 18, 2023
2 parents 390cc2a + 80090d8 commit 3a8a745
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unattended_installer/passwords_tool/passwordsFunctions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,7 @@ function passwords_runSecurityAdmin() {
common_logger -e "Could not load the changes."
exit 1;
fi
eval "cp /etc/wazuh-indexer/backup/internal_users.yml /etc/wazuh-indexer/opensearch-security/internal_users.yml"
eval "rm -rf /etc/wazuh-indexer/backup/ ${debug}"

if [[ -n "${nuser}" ]] && [[ -n ${autopass} ]]; then
Expand Down

0 comments on commit 3a8a745

Please sign in to comment.