Skip to content
Snippets Groups Projects
Commit d4fcc342 authored by Bob Mottram's avatar Bob Mottram
Browse files

Move the mumble global password into the password manager

parent c53f44cd
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment