mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
jupyterhub admins should be able to run `sudo -E pip install numpy` and install numpy into the user environment. However, since pip is in the PATH we explicitly set in jupyterhub_config.py and sudo doesn't preserve PATH, this won't work. We exempt jupyterhub-admins groups from the PATH restriction, so sudo -E works. This has some security costs, but we are already allowing passwordless roots for them with unrestricted paths...
3.3 KiB
3.3 KiB