Installation scripts for SURF ResearchCloud catalog components
View the Project on GitHub UtrechtUniversity/researchcloud-items
Creates a default group for all users of a workspace. Creates the group, add all regular users to it, and ensures that new users are also added to it.
Debian/Ubuntu operating system.
/etc/security/group.conf so that the group is added by PAM whenever a user logs in.default_group_use_cron is _false_: Adds the group to the EXTRA_GROUPS instruction in /etc/adduser.conf so that new users created with /sbin/adduser (a Debian/Ubuntu tool, not to be confused with useradd) are automatically added to the new group.
EXTRA_GROUPS are kept. On SRC workspaces, this includes the davfs2 group by default.default_group_use_cron is _false_: installs a cron script that ensures all regular users are member of the default group.default_group_group:
default_group_group.groupname: name of the group to createdefault_group_group.gid`: # optional. gid (numeric) of the groupdefault_group_use_cron: Boolean. When true (default), will use a cronjob to add all regular users to the default group. When false, will instead use /sbin/adduser config to achieve the same result. However, the latter only works for users added with adduser, and not with useradd – the default cron strategy is therefore more robust.2023 Written by Dawa Ometto (Utrecht University)