Also cf.

This page collects tweaks and scripts for daily administration that make use of cipux_task_* [:?../ShellTasks:commandline] tools. These tweaks can not only give an example on how to use the cipux API efficiently, but also could give hints to developers who will possibly create a Qt-GUI for CipUX in order to make webmin entirely superflicious...

add all users of group $X to group $Y

Remark: CipUX distinguishes between classes and roles. Here, classes are used.

# for i in `cipux_task_list_user_members_of_course $X` ; do \
   cipux_task_add_user_to_course $Y $i; done 

restore home dir according to course specific skel

Each course $X has its default skeleton file which is virtually the home directory of user $X (this user is created with any course and might be enabled to login with his own password). During restore process, corresponding config files are resynced, so user documents will be kept.

# for i in `cipux_task_list_user_members_of_course $X` ; do \
   cipux_task_restore_user_homedir  $i; done