mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
fix typo in installer
This commit is contained in:
committed by
GitHub
parent
9196d75200
commit
1364305fee
@@ -88,7 +88,7 @@ def ensure_usergroups():
|
|||||||
user.ensure_group('jupyterhub-admins')
|
user.ensure_group('jupyterhub-admins')
|
||||||
user.ensure_group('jupyterhub-users')
|
user.ensure_group('jupyterhub-users')
|
||||||
|
|
||||||
print("Grainting passwordless sudo to JupyterHub admins...")
|
print("Granting passwordless sudo to JupyterHub admins...")
|
||||||
with open('/etc/sudoers.d/jupyterhub-admins', 'w') as f:
|
with open('/etc/sudoers.d/jupyterhub-admins', 'w') as f:
|
||||||
# JupyterHub admins should have full passwordless sudo access
|
# JupyterHub admins should have full passwordless sudo access
|
||||||
f.write('%jupyterhub-admins ALL = (ALL) NOPASSWD: ALL\n')
|
f.write('%jupyterhub-admins ALL = (ALL) NOPASSWD: ALL\n')
|
||||||
|
|||||||
Reference in New Issue
Block a user