From cba80493900c6b5646f164debab4a8e9396c4fbc Mon Sep 17 00:00:00 2001 From: Carl Boettiger Date: Sun, 5 Nov 2023 19:59:03 -0800 Subject: [PATCH] Update setup.sh --- .devcontainer/setup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.devcontainer/setup.sh b/.devcontainer/setup.sh index 0257f39..604b86b 100644 --- a/.devcontainer/setup.sh +++ b/.devcontainer/setup.sh @@ -1,8 +1,7 @@ #!/bin/bash -## permission fails -#sudo echo "auth-none=1" >> /etc/rstudio/rserver.conf - +sudo cp /etc/rstudio/disable_auth_rserver.conf /etc/rstudio/rserver.conf +sudo sudo bash -c 'echo "USER=$USER" >>/etc/environment' ## set startup dir # mkdir -p ~/.local/share/rstudio/projects_settings