RStudio Workbench / RStudio Server Pro allows a Linux shell to be started. Can this be disabled through configuration?


Yes, the section of the RStudio Workbench (previously RStudio Server Pro) admin guide here: Feature Limits details the various things you can disable. You would want to set the following value to false: allow-shell

As a caveat, there is no real way in R to stop people from executing a shell command unfortunately, so this removes that setting but doesn’t completely close down the risk.