gce_rstudio_adduser function

Creates a user on an RStudio templated instance

Creates a user on an RStudio templated instance

RStudio has users based on unix user accounts

gce_rstudio_adduser(instance, username, password, admin = TRUE, container = "rstudio")

Arguments

  • instance: An instance with RStudio installed via gce_vm_template
  • username: The user to create
  • password: The user password
  • admin: Default TRUE - Will the user be able to install packages and other sudo tasks?
  • container: The rstudio container to add the user to

Returns

The instance