From 6010917f0461826b377fb3611c85ee43e33a61a3 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Sat, 4 Dec 2021 15:52:10 -0500 Subject: [PATCH] make users replace password -- not root --- scripts/update_services.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/update_services.sh b/scripts/update_services.sh index f6384dd..c6e506a 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -35,9 +35,9 @@ install_mariadb() { fi source /etc/os-release if [[ "${VERSION_CODENAME}" == "buster" ]];then - ${my_dir}/update_db_pwd_buster.sh + USER=${USER} ${my_dir}/update_db_pwd_buster.sh elif [[ "${VERSION_CODENAME}" == "bullseye" ]];then - ${my_dir}/update_db_pwd_bullseye.sh + USER=${USER} ${my_dir}/update_db_pwd_bullseye.sh fi }