From f9b4e4644ad7d2b8fab417b8bfa959c757b32d43 Mon Sep 17 00:00:00 2001 From: Alejandro Lembke Barrientos Date: Wed, 10 Apr 2024 01:10:43 +0000 Subject: [PATCH] Changing the way is login the HOME_USER. Updating to version 2.0.35 --- entrypoint.sh | 3 ++- version.txt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index a0da3c9..d0ea670 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -40,7 +40,8 @@ if [ "${HOME_USER-}" ]; then sudo su - ${HOME_USER} -c 'sed -i "s|/home/vscode|/home/${HOME_USER}|g" ~/.bashrc' # Switch to the user specified by $HOME_USER and start an interactive shell session. - sudo -u $HOME_USER -i + # sudo -u $HOME_USER -i + sudo su -l ${HOME_USER} fi fi diff --git a/version.txt b/version.txt index 59ef4a7..2e81db4 100755 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -2.0.34 \ No newline at end of file +2.0.35 \ No newline at end of file