ecs-usermgr improvements
In moving the ecs-usermgr account management script to RAHU, I’ve made a few improvements.
- QUOTA: this module now contacts the ecquota database for self service quotas to get both the base quota for the user’s group and any bumps by the user. This consolidates quota configuration into one place (the database) and preserves bumps across convert_user calls. QUOTA no longer checks ownership on the home directory, since this breaks on symbolic links.
- HOMELINK: a new module that simply manages the symbolic links in /home/_group_ on hosts such as PAX that don’t have the actual home directory but do have the /home/_group_ directories local. This module assumes that HOMEDIR is being run on the actual server where the home directory resides (in this case, RAHU).
- QUEUECLIENT: modified to use the right grep in Solaris. This needs to be fixed so that the path to grep is a variable that can be set in accounts.conf on each host.
- EXAMPLE: this is a skeleton structure of a module, useful for copying and building a new module.
Previously, I had changed the MAILMAN module so that the lists that a user is subscribed to are taken from the donor code to list mapping in accounts.conf. This is to support dynamic list configs and the ability to subscribe people to more than one list.
Posted by Rowan Littell at August 20, 2004 12:30 PM