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:
yuvipanda
2018-06-27 02:07:49 -07:00
parent cf4bd7e36e
commit e957fc3bf0
3 changed files with 1 additions and 17 deletions

View File

@@ -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)