Useradm is used to manage Redbrick's membership.
-
Queries DCU's AD server for User information;
- Fullname
- Student ID
- DCU altmail
- Course of Study
- Year of Study.
-
Asks user for nickname, queries if nick exists in Redbrick LDAP.
-
If the user doesn't exist.
- Creates the user's homedir
- populates .forward with altmail address
- assigns quotas.
- broken adds the user to the announce-redbrick mailman list
- mails user's password and account details.
- Queries RB LDAP using user nickname.
- If Yearspaid <1, set yearsPaid=1
- problem if the user's shell is /usr/local/shell/expired and is renewed, shell isn't reset to /usr/local/shell/zsh
- problem if renewing && usertype is associat/committe it will hint at restoring usertype to member
- For committe this wouldn't be as bad, but for associat this poses an issue frequently.