diff --git a/src/freedombone-app-mumble b/src/freedombone-app-mumble index 343be70c..12df9dfb 100755 --- a/src/freedombone-app-mumble +++ b/src/freedombone-app-mumble @@ -44,7 +44,6 @@ MUMBLE_CONFIG_FILE="mumble-server.ini" mumble_variables=(MY_USERNAME MUMBLE_PORT - MUMBLE_SERVER_PASSWORD ONION_ONLY ADMIN_USERNAME) @@ -269,7 +268,13 @@ function install_mumble { update_default_domain systemctl restart mumble-server - ${PROJECT_NAME}-pass -u $MY_USERNAME -a mumble -p "$MUMBLE_SERVER_PASSWORD" + # Change the password for all users + for d in /home/*/ ; do + USERNAME=$(echo "$d" | awk -F '/' '{print $3}') + if [[ $(is_valid_user "$USERNAME") == "1" ]]; then + ${PROJECT_NAME}-pass -u "$USERNAME" -a mumble -p "$MUMBLE_SERVER_PASSWORD" + fi + done function_check configure_firewall_for_mumble configure_firewall_for_mumble