Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multiuser environment #10

Open
sghignone opened this issue Jan 27, 2021 · 1 comment
Open

multiuser environment #10

sghignone opened this issue Jan 27, 2021 · 1 comment

Comments

@sghignone
Copy link

sghignone commented Jan 27, 2021

HI Jeremy,
given a multiuser environment on a machine running singularity, I would like to give the possibility to each user to manage their own RStudio . is this possible? i cannot figure out the port settings: each use will use a different one? or is a matter of credential/authentication?
Thanks for any hint..
Cheers
S.-

@nickjer
Copy link
Owner

nickjer commented May 2, 2021

Since this is run in Singularity it will run as a single user. So anyone who successfully authenticates against this running server will have access to all the files under this user.

One solution would be to start an RStudio Server instance for each user, have them listen on Unix domain sockets with proper user permissions (this gets around the port issue), then stand up a reverse proxy in front with a proper authentication mechanism that proxies the logged in user to the correct Unix domain socket.

This can be fairly complicated to set up and the Unix domain sockets are optional as you can just assign a different port to each user's server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants