JupyterHub Docker, how to add new users

Rodrigo Ancavil
3 min readFeb 21, 2021

If you want to know how to get a JupyterHub environment, you should go to the JupyterHub Docker tutorial. Users will have the power of JupterLab in a shared environment.

To add new users to the JupyterHub environment you have to follow these steps.

Step 1: Going to Hub Control Panel

As the admin user, go to Hub Control Panel (File -> Hub Control Panel).

Step 2: Preparing to create the users

Go to Admin menu option, you’ll see the following panel.

Go to Add Users button, and inside Add Users pop-up, enter the username. You can create a list of users separated by lines.

Push Add Users button.

By default, all users are created with a default password:

remember.change.it

Note: Each user is responsible for changing their own password.

Step 3: Users must change their default password.

Now, each user can access their JupyterLab environment, using the credentials and their default password (remember.change.it).

Once inside, they will see the following.

You must change the default password using the Terminal option (go to File -> New -> Terminal) or go to the icon:

And use the Linux command passwd inside the terminal:

Users must enter the current password (remember.change.it), and enter a new one. Once the password has been changed, just close the terminal window using the cross.

Now, users will be able to work with a JupyterLab environment using JupyterHub.

--

--