mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Explicitly create user home directory when creating user
This commit is contained in:
@@ -23,6 +23,7 @@ def ensure_user(username):
|
|||||||
|
|
||||||
subprocess.check_call([
|
subprocess.check_call([
|
||||||
'useradd',
|
'useradd',
|
||||||
|
'--create-home',
|
||||||
username
|
username
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user