How to change user passwd of Jupyter lab user instance? #7

Open
opened 4 years ago by manetta · 2 comments
Owner

Not sure if the system user password is in sync with the Jupyter user password? Digging a bit into the system to understand how it works ...

Not sure if the system user password is in sync with the Jupyter user password? Digging a bit into the system to understand how it works ...
Poster
Owner

Figured it out :), again the hidden file .jupyter/jupyter_notebook_config.py in my home folder was the place that i was looking for.

I followed the steps from the installation script, to re-generate a "sha has":

>>> from IPython.lib import passwd
>>> passwd('MYPASSWORDHERE')

This returned a hash that could be copy/pasted in the settings file, it looks like this:

'sha1:fa390e756d94:e76d54c34509e9e188190f8d50c3f4705852a1f2'

(writing it here to document these steps)

Figured it out :), again the hidden file .jupyter/jupyter_notebook_config.py in my home folder was the place that i was looking for. I followed the steps from the installation script, to re-generate a "sha has": ``` >>> from IPython.lib import passwd >>> passwd('MYPASSWORDHERE') ``` This returned a hash that could be copy/pasted in the settings file, it looks like this: `'sha1:fa390e756d94:e76d54c34509e9e188190f8d50c3f4705852a1f2'` (writing it here to document these steps)
manetta changed title from How to change user passwd of Jupyter? to How to change user passwd of Jupyter lab user instance? 4 years ago
Poster
Owner

And then reload the jupyter lab for this user:

sudo systemctl restart jupyterlab@username

And then reload the jupyter lab for this user: `sudo systemctl restart jupyterlab@username`
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: XPUB/jupyterpi#7
Loading…
There is no content yet.