mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-17 06:52:59 +00:00
-n is required
This commit is contained in:
@@ -832,7 +832,7 @@ class LocalAuthenticator(Authenticator):
|
||||
raise ValueError("I don't know how to create users on OS X")
|
||||
elif which('pw'):
|
||||
# Probably BSD
|
||||
return ['pw', 'useradd', '-m']
|
||||
return ['pw', 'useradd', '-m', '-n']
|
||||
else:
|
||||
# This appears to be the Linux non-interactive adduser command:
|
||||
return ['adduser', '-q', '--gecos', '""', '--disabled-password']
|
||||
|
Reference in New Issue
Block a user