What is default username and password for JupyterHub?

Viewed 23331

I have installed JupyterHub and ran it. When I opened it's page, the following window appears:

enter image description here

What to enter there? Documentation is silent.

5 Answers

If you are using docker image then after you run the container with this command:

docker run -d -p 8000:8000 --name jupyterhub jupyterhub/jupyterhub jupyterhub

bash into the running container:

docker exec -it jupyterhub bash

and then adduser test and follow the instructions. Once done then go to the browser enter:

http://localhost:8000/

Put the credentials in. It should work as it worked for me.

The username is "jovyan" and the password is "jupyter"

Default spawner will use local operating system user credentials to spawn a Notebook or Lab process.

So sudo adduser USER then sudo passwd USER will create a user that can be used to log in.

Note that this user must have access to run the Notebook / Lab binary or it will log in but the spawning part would fail.

It seems that you must create a new user (especially if you are in a VM as I was).

In the VM (Qnap) I selected the "terminal" command and input adduser NewName

then got the password dialog. After it completed, I was able to login using that info.

Related