From e7cec802c0af14eb43c23d84758d573b2cf80060 Mon Sep 17 00:00:00 2001 From: Andrew Plummer Date: Thu, 7 Mar 2024 12:05:19 +0000 Subject: [PATCH] Fix shell usage for proxy user during setup (#4) --- index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.ts b/index.ts index 3e7b22a..c2b1ce5 100644 --- a/index.ts +++ b/index.ts @@ -86,7 +86,7 @@ main() { sudo chown -R "$proxy_user_name:$proxy_user_name" "$tmpdir" - (sudo su - $proxy_user_name && { + (sudo su - --shell=/bin/bash $proxy_user_name && { keysadded=0 for filename in "$tmpdir"/*.pub; do if [[ -f $filename ]]; then