mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Don't use sudo for everything
We are running as root, and will rely on dropping privs via systemd rather than sudo
This commit is contained in:
@@ -27,6 +27,5 @@ c.JupyterHub.spawner_class = CustomSpawner
|
||||
c.ConfigurableHTTPProxy.should_start = False
|
||||
|
||||
c.SystemdSpawner.extra_paths = [os.path.join(USER_ENV_PREFIX, 'bin')]
|
||||
c.SystemdSpawner.use_sudo = True
|
||||
|
||||
configurer.apply_yaml_config('/etc/jupyterhub/jupyterhub.yaml', c)
|
||||
|
||||
Reference in New Issue
Block a user