Commit Graph

10 Commits

Author SHA1 Message Date
MinRK
b685ed902e fix env when using setuid
avoids subprocess identifying as root
2014-09-21 15:03:25 -07:00
MinRK
2bcc25e31d add Spawner.debug
for easy debugging of the single-process output
2014-09-21 15:00:38 -07:00
MinRK
45e1822a2e setgid and chdir before setuid 2014-09-20 18:31:27 -07:00
MinRK
83e9762845 add basic CLI and config file support
See `jupyterhub -h` for common shortcuts

default config file: `jupyter_hub_config.py`
generate config file with: `jupyterhub --generate-config`
non-default config file: `jupyterhub -f myconfig.py`
2014-09-16 14:47:48 -07:00
MinRK
eb225037ea make shutdown timeouts configurable 2014-08-25 12:39:46 -07:00
MinRK
c0b83d2fa0 allow spawning with sudo
alternative to setuid

allows better restricted access, and doesn't require the server to run as root.

Enable with `--LocalProcessSpawner.set_user=sudo`

Since spawning with sudo is complicated, leave setuid as the default.
2014-08-25 12:39:00 -07:00
MinRK
87eb96d22a pop environment variables in subprocess
avoid kernel processes inheriting server security values
2014-08-22 19:39:53 -07:00
MinRK
ef93fed9a4 spawn single-user servers as actual users 2014-08-20 11:31:09 -07:00
MinRK
a156d09d11 add configurable authentication
and coroutine auth and spawning
2014-08-20 11:16:45 -07:00
MinRK
c7acaec239 s/multiuser/jupyterhub 2014-08-19 17:44:30 -07:00