mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-18 07:23:00 +00:00
Merge pull request #189 from jdavidheiser/master
set user shel from pw_shell closes #189 closes #204
This commit is contained in:
@@ -330,6 +330,7 @@ class LocalProcessSpawner(Spawner):
|
||||
def user_env(self, env):
|
||||
env['USER'] = self.user.name
|
||||
env['HOME'] = pwd.getpwnam(self.user.name).pw_dir
|
||||
env['SHELL'] = pwd.getpwnam(self.user.name).pw_shell
|
||||
return env
|
||||
|
||||
def _env_default(self):
|
||||
|
Reference in New Issue
Block a user