Create RStudio User Accounts

Use this tutorial to create new RStudio user accounts (without the LDAP authentication).

  1. Log in to RStudio as an administrator.

  2. In Tools  Shell, run the following command:

    sudo adduser my_new_user
  3. Enter the password for the administrator account, then choose the password for the new user account.

  4. OPTIONAL: To allow this new user to install libraries, you must add him to the staff group by running the following command:

    sudo adduser my_new_user staff.
  5. Save your newly created account by running the following command:

    ./backupusers

    This creates an archive on a mounted volume, which automatically recreates users when the Docker RStudio is restarted.

See also