# Is it possible to allow multiple jupyter users to share the same linux account?

**URL:** <https://discourse.jupyter.org/t/is-it-possible-to-allow-multiple-jupyter-users-to-share-the-same-linux-account/25302>\
**Category:** JupyterHub\
**Tags:** jupyterhub, how-to, help-wanted\
**Created:** [April 23, 2024, 7:09am UTC](https://discourse.jupyter.org/t/is-it-possible-to-allow-multiple-jupyter-users-to-share-the-same-linux-account/25302 "2024-04-23T07:09:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jxgzwd](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jxgzwd](https://discourse.jupyter.org/u/jxgzwd)\
**Post date:** [April 23, 2024, 7:09am UTC](https://discourse.jupyter.org/t/is-it-possible-to-allow-multiple-jupyter-users-to-share-the-same-linux-account/25302/1 "2024-04-23T07:09:15Z")

</div>

Due to some complex reasons, my server **cannot add additional users**. My team shares the same Linux account to work on the server. We deployed JupyterLab before, and different users access the same instance. Each time they access it, they can see the terminals or notebooks of others in operation, which is very inconvenient.

Therefore, we started to use JupyterHub, hoping to isolate the workspaces of different users. But I found that the users of JupyterHub are actually bound to the users of the Linux system: even if the DummyAuthenticator is used to allow usernames different from the system to log in, the spawner still needs a unique username supported by Linux when starting an instance.

Is it possible to use different users when logging into JupyterHub, while these **different “Jupyter users” can use the same “Linux user” to start different service instances**?

(At present, I can achieve a similar effect by setting

> allow\_named\_servers=True

and assigning different URLs to different users, but some contents, such as the opened notebooks, are shared between services and cannot be as clean as different users.)

---

<div class="post-metadata">

**Author:** ![manics](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/manics/32/85_2.png) [@manics](https://discourse.jupyter.org/u/manics)\
**Post date:** [April 23, 2024, 2:02pm UTC](https://discourse.jupyter.org/t/is-it-possible-to-allow-multiple-jupyter-users-to-share-the-same-linux-account/25302/2 "2024-04-23T14:02:51Z")

</div>

If you fully trust your users you can try `SimpleLocalProcessSpawner`:

> **[Setting up a development install](https://jupyterhub.readthedocs.io/en/stable/contributing/setup.html#using-dummyauthenticator-simplelocalprocessspawner)**
>
> System requirements: JupyterHub can only run on macOS or Linux operating systems. If you are using Windows, we recommend using VirtualBox or a similar system to run Ubuntu Linux for development. In...

> <https://github.com/jupyterhub/jupyterhub/blob/b4053616743eb011e5bb568700f25afca17aef53/jupyterhub/spawner.py#L1806-L1852>

It uses temporary home directories since it’s just for testing and development, so you’ll need to configure things like `home_dir_template`.

---

<div class="post-metadata">

**Author:** ![jxgzwd](https://avatars.discourse-cdn.com/v4/letter/j/bcef8e/32.png) [@jxgzwd](https://discourse.jupyter.org/u/jxgzwd)\
**Post date:** [April 24, 2024, 3:33am UTC](https://discourse.jupyter.org/t/is-it-possible-to-allow-multiple-jupyter-users-to-share-the-same-linux-account/25302/3 "2024-04-24T03:33:13Z")

</div>

this works great for me, thanks a lot!
