-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Admin user login opening home directory of user created by jupyterhub #911
Comments
Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗 |
I'm not sure if using the littlest jupyterhub would be right way for this. You can set up a vanilla jupyterhub with much more customization and control how it is setup. The littlest JupyterHub distribution by default has |
I think I align with how @MridulS is reasoning here, but I've also run into this broken expectation in the past so I'd say it would be good if docs conveyed this better. I wouldn't be comfortable suggesting or defaulting use of tljh to possibly directly influence and overlap with normal users on a machine. If a machine has the accounts |
@consideRatio any possibility to give the user the option to drop the |
Bug description
Logging in as the admin user
joe
displays home directory ofjupyter-joe
rather thanjoe
. Opening the terminal confirms that the working directory is/home/jupyter-joe
rather than/home/joe
Expected behaviour
The admin user, passed in as part of the install command refers to an existing user
joe
. This user already had jupyterlab installed with many notebooks. In order to open up the server to other users, I installed jupyterhub and now logging in asjoe
doesn't show his home directory, therefore any of this files.I would expected to log in as
joe
and see his existing directories. I would NOT expect to log injoe
and see home directory belonging tojupyter-joe
.Actual behaviour
Logging in as
joe
takes m tojupyter-joe
's home directoryHow to reproduce
Iinstall TLJH according to instructions:
curl -L https://tljh.jupyter.org/bootstrap.py | sudo -E python3 - --admin joe
After a few minutes, log in as
joe
Your personal set up
the-littlest-jupyterhub
Ubuntu 22.04
Full environment
Configuration
# jupyterhub_config.py
Everything is default, I made no changes. the jupyter_server_config.py has no uncommented lines
Logs
The text was updated successfully, but these errors were encountered: