mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Don't create home publicly readable
World-Readable seem to be a surprising default for many people, especially in teaching context. Switch to a more reasonable rwxr-x--- We have to issue a chmod, as changing at creation time would require changin /etc/adduser.conf DIR_MODE=0760 (or whatever), but that seem unwise. We do not set the exact permission in case the DIR_MODE is more restrictive. Closing #158
This commit is contained in:
@@ -22,6 +22,10 @@ permissions.
|
||||
|
||||
#. A home directory is created for the user under ``/home/jupyter-<username>``.
|
||||
|
||||
#. The default permission of the home directory is change with ``o-rwx`` (remove
|
||||
non-group members the ability to read, write or list files and folders in the
|
||||
Home directory).
|
||||
|
||||
#. No password is set for this unix system user by default. The password used
|
||||
to log in to JupyterHub (if using an authenticator that requires a password)
|
||||
is not related to the unix user's password in any form.
|
||||
|
||||
Reference in New Issue
Block a user