I've used the setup instructions found here: http://jupyter-notebook.readthedocs.io/en/latest/public_server.html
After starting the server, every time I attempt to login it refuses to take my password. I've verified the hash, used the passwd() function from notebook.auth as the sha1 generator.
Lastly, the password value is set in the jupyter_notebook_config.py file.
Is there something I'm missing here. I can see the POST request and everything, but it will not take the password that I've set.
A few google searches have turned up nothing thus far. I'm using the Anaconda v1.5.1 distro on Linux Mint 17. Thanks
Resetting your Password If you forget your password and need to reset it: Open your Jupyter environment. Then run "jupyter notebook password". Enter a new password when prompted.
JupyterHub on Amazon EMR has a default user with administrator permissions. The user name is jovyan and the password is jupyter .
Alternatives to token authentication jupyter notebook password will prompt you for a password, and store the hashed password in your jupyter_notebook_config. json . New in version 5.0: jupyter notebook password command is added.
I was able to set a password and use that to login. I did not have luck running jupyter notebook password
, but jupyter server password
did work.
You can make a configuration to all options in a file, generated by command jupyter notebook --generate-config
.
This will produce a file with all configurations explained and commented out in the file ~/.jupyter/jupyter_notebook_config.py
.
vi jupyter_notebook_config.py
to access and editIn this file you can un-comment:
## Allow password to be changed at login for the notebook server. # # While loggin in with a token, the notebook server UI will give the opportunity # to the user to enter a new password at the same time that will replace the # token login mechanism. # # This can be set to false to prevent changing password from the UI/API. c.NotebookApp.allow_password_change = True
and set some starting or no token with
## Token used for authenticating first-time connections to the server. # # When no password is enabled, the default is to generate a new, random token. # # Setting to an empty string disables authentication altogether, which is NOT # RECOMMENDED. c.NotebookApp.token = ''
For a simple single password: In the jupyter_notebook_config.py:
# my notebooks settings c = get_config() c.NotebookApp.ip = '*' c.NotebookApp.open_browser = False c.NotebookApp.port = 5000 # setting up the password from IPython.lib import passwd password = passwd("your_secret_password") c.NotebookApp.password = password
See also here in the docs:https:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With