Hi! I’ve spent quite a lot of time trying to solve this simple issue, so I hope somebody here can help me.
I need to change a password from a default ‘dl_course’ to something else. I’ve tried several times to use a procedure described in many places on Internet. I used a notebook to create sha1 hash with the following code:
from notebook.auth import passwd
I put a result in the config file at /home/ubuntu/.jupyter/jupyter_notebook_config.py something like this:
c.NotebookApp.password = u’sha1:67c9e60bb8b6:9ffede0825894254b2e042ea597d771089e11aed’
I know that this config file is being used because I have other parameters such as a path to certificate file and a port number and they work just fine. I start Jupyter with sudo like this:
sudo /home/ubuntu/anaconda2/bin/jupyter notebook --no-browser --config=/home/ubuntu/.jupyter/jupyter_notebook_config.py &
I need to do this because I have to use port 443 with SSL to access it from behind a firewall.
Anyway, it’s probably not a problem because as I said other parameter from the config are working just fine.
Basically, I need to find out where the default password is defined since it wasn’t set in jupyter_notebook_config.py initially and it seems like it overrides my own password definition.
Please help. Thanks!