On my EC2 I have hosted RStudio and if I want to add a new user I can go to the terminal and
sudo useradd dave then
sudo passwd dave then set a password.
Then, if I send Dave the link for our hosted rstudio instance he can login with his user name and password and get to work.
On a separate project the dev ops team provided me with access to rstudio via the rocker/verse image. They provided a username rstudio and shared the password with me so I can login as rstudio.
I tried to create a new user using
sudo adduser dave. I then set a password with
sudo passwd dave and entered a password.
When I then logout of rstudio and go back to the /auth-sign-in page and attempt to login as dave with the newly created credentials, I am unable to. The screen attempts to load for a moment then I see a popup message "rstudio initialization error, Unable to connect to service"
When I create a new user in this way on the 'regular' EC2 instance of hosted Rstudio, the new user can always login. Not so in this case when it's a Docker container.
How can I add a new user when running rtsudio via a docker container (rocker/verse)?