usersbygroup module Introduction This module is used to create restricted views of the user accounts list. Co-administrators may be granted the ability to manage those users sets. 1. Principles To define a new view, you must visit the menu "Configure special groups" at the end of the policies section of the user account menu. You are presented with a list (originally empty) of configured groups. Use the Add button to add a new configuration. Pick the group you want to manage and assign a login shell. You may want to pick either /bin/false for unprivileged accounts and /bin/sh for normal accounts. Once you have define a special group, two new privileges are added and you can grant those privileges to any normal user. He is then allowed to manage this group members. One privilege control general management of the users (changing name, password, redirecting emails, ...). The second privilege let the co-administrator add new accounts. 2. Restricted views You can't control every feature of a user account when edit through this facility. You can't control the login shell, the group and can't assign any privileges. 3. Administration commands You can define various administration commands. The co-administrators will be apply them to various user accounts member of the special group. An administration command is usually a shell script that perform a task for one or more user. Potential usage are: +o Updating the web bookmarks of all student in a classroom. +o Resetting the desktop defaults. 3.1. Command line format An administration command will be called with the list of user accounts selected by the administrators (potentially all members of the special groups). At definition time, you can specify few command line option also. To differentiate the original command line options from the user accounts, linuxconf insert a -- sequence between the options and the user accounts. For example, the supplied script used to update the bookmarks expect to pick those bookmarks from another user accounts. An usual command line would look like: /usr/lib/linuxconf/usersbygroup/install-bookmarks.sh teacher -- \ mary john patrick 3.2. Logging All usage of those administration commands are logged, including the output and error message. This is logged in the linuxconf logs.