sudospawner
sudospawner copied to clipboard
Spawn JupyterHub single-user servers with sudo
### Bug description Hi. I get 500 error when creating notebook as a user with "." in username. We are using ldap to authenticate users and almost everyone has name...
### Bug description As we had problems with the jupyterlab processes spawned from jupyterhub, we added ```c.Spawner.args = ["--debug"]``` to jupyterhub_config.py to get debugging messages from the singleuser processes in...
### Bug description Even if `c.Spawner.env_keep` is set as expected, jupyterhub does not pass these variables to sudospawner and thus sudospawner fails with ``` ... [W 2021-09-06 05:20:18.191 JupyterHub auth:1079]...
I noticed an issue wherein the `c.Spawner.environment` setting in the JupyterHub config was not being used when spawning the new process. It seems to be so because we are not...
### Bug description Various functions in the `LocalProcessSpawner` class assume privileged access by using the builtin functions, e.g.: `shutil.rmtree` and `os.makedirs`. #### Expected behaviour Being able to use sudospawner with...
### Bug description When trying to launch a jupyterhub server using sudospawner, I am attempting to pass a -E argument to sudo in order to preserve the environment When I...
'Add User' not working for admin users with JupyterHub run using PAMAuthentication and SudoSpawner
I've configured Jupyterhub with SudoSpawner (which runs as a non-root user) and I'm able to run it without any trouble. But when I logged in with the user **rhea** (as...
I want activate user's own conda env when jupyterlab start up. So I put `conda activate ENVNAME`command to .bashrc, but not working. let's say activate *py38_user2* for *user2*: user2's bashrc...
Hi, I am running JupyterHub as separate non-root user with systemd without sudospawner. Instead I leverage the systemd [AmbientCapabilities option](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Capabilities). My jupyterhub.service file looks like this: ``` [Unit] Description=JupyterHub After=syslog.target...
### Bug description The variable `c.Spawner.args` in `jupyterhub_conf.py` is set as follows: ``` c.Spawner.args = ['--JupyterApp.config_file=/filePath/jupyter_notebook_config.py'] ``` However, the config_file of `notebook` is not getting linked. #### Expected behaviour `JupyterApp.config_file`...