diff --git a/setupLibrary.sh b/setupLibrary.sh index 8f15eec..4df0304 100644 --- a/setupLibrary.sh +++ b/setupLibrary.sh @@ -41,7 +41,7 @@ function execAsUser() { local username=${1} local exec_command=${2} - sudo -u "${username}" -H sh -c "${exec_command}" + sudo -u "${username}" -H bash -c "${exec_command}" } # Modify the sshd_config file