Give user an option to run shiny-server as root#391
Give user an option to run shiny-server as root#391haobibo wants to merge 17 commits intorstudio:masterfrom haobibo:patch-1
Conversation
|
@jcheng5 will appreciate it if you can provide any feedback/comments! |
|
I can't in good conscience accept this--the risks are so huge. Is there a reason you can't run as a different user? |
|
Thank you @jcheng5 for your feedback! I'm running shiny-server inside a Docker container, which isolates all environment inside the container: both file system and processes:https://github.com/QPod/docker-images I chose to use the root user inside docker for simplicity reasons, where a user can do everything inside the container, and risks are isolated/controlled by docker. I understand there is un-ignorable risk to run shiny-server as the root user.
|
- Buffer constructor is deprecated, use .from and .alloc instead - Fix v8.h related compiler warnings
Upgrade Node.js to v10.15.3
Exclude testing-related npm packages from installer
…re-test Install all dependencies before running tests
The script does a lot of work to set up the right environment
Was running npm from the wrong directory
We're still a couple of week away from dropping Ubuntu 14.04 so holding off on that one. https://www.rstudio.com/about/platform-support/
Currently, if the user runs the process of
shiny-serverin root and defines run_as to root, the shiny-server will abort.It is possible (and secure) to allow users to run the process in root and run_as root?