1.4 KiB
Administrative Access
In The Littlest JupyterHub, we try to allow users to do as many administrative tasks as possible within JupyterHub itself. Admin users can:
- Have full root access with passwordless
sudo - Install systemwide packages with
apt - Install
conda/pippackages for all JupyterHub - Change amount of RAM / CPU available to each user and more!
By default, there are no admin users. You should add some after installation.
Adding admin users
Admin users are specified in the YAML
config file at /opt/tljh/config.yaml.
-
Open the
config.yamlfile for editing.sudo nano /opt/tljh/config.yaml -
Add usernames that should have admin access.
users: admin: - user1 - user2Be careful around the syntax - indentation matters, and you should be using spaces and not tabs.
When you are done, save the file and exit. In
nano, you can do this withCtrl+Xkey. -
When you are sure the format is ok, restart JupyterHub to let the config take effect.
sudo systemctl restart jupyterhub
This should give you admin access from JupyterHub! You can verify this by:
- Opening a Terminal in your JupyterHub and checking if
sudoworks - Opening your JupyterHub
Control Paneland checking for the Admin tab
From now on, you can use the JupyterHub to do most configuration changes.