Move the mumble global password into the password manager
This commit is contained in:
parent
c53f44cddf
commit
d4fcc3420e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue