From 1392aee1956a3169d867beb51c78760a2368d233 Mon Sep 17 00:00:00 2001 From: Julien Cigar Date: Wed, 15 Jun 2022 17:23:13 +0200 Subject: [PATCH] -n is required --- jupyterhub/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterhub/auth.py b/jupyterhub/auth.py index 5e0f464b..192becdb 100644 --- a/jupyterhub/auth.py +++ b/jupyterhub/auth.py @@ -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']