Redbrick User management tool
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cian Butler 67e413f9dc migrate to git 4 years ago
useradm py3 changes, missing statements, normalisation of paths. (#1) 5 years ago
.gitignore Initial commit 4 years ago
.htaccess Initial revision 4 years ago
LICENSE add public domain license based on authors instructions (#9) 5 years ago
README.md Initial commit 4 years ago
RRS-SYNC.TXT migrate to git 4 years ago
TODO migrate to git 4 years ago
common.css migrate to git 4 years ago
continous_rrs_backup.sh Initial revision 4 years ago
dcu_grad.ldif Adding sample LDIFs for DCU Student & Grad and RB entry. 5 years ago
dcu_student.ldif Adding sample LDIFs for DCU Student & Grad and RB entry. 5 years ago
doc.css migrate to git 4 years ago
fixup-rb-dcu-tree.py Initial revision 4 years ago
func-spec.html migrate to git 4 years ago
index.html migrate to git 4 years ago
install-manual.html migrate to git 4 years ago
make-rb-dcu-tree.sh Initial revision 4 years ago
newyear_ldif.py migrate to git 4 years ago
rb_account.ldif Adding sample LDIFs for DCU Student & Grad and RB entry. 5 years ago
rbaccount.py migrate to git 4 years ago
rbconfig.py migrate to git 4 years ago
rberror.py migrate to git 4 years ago
rbopt.py migrate to git 4 years ago
rbuser.py migrate to git 4 years ago
rbuserdb.py migrate to git 4 years ago
rebuild_userdb_reserved.py migrate to git 4 years ago
remove_dcutree_ldif.py Initial revision 4 years ago
requirements.txt py3 changes, missing statements, normalisation of paths. (#1) 5 years ago
rrs.cgi migrate to git 4 years ago
rrs.py migrate to git 4 years ago
tech-manual.html migrate to git 4 years ago
user-manual.html migrate to git 4 years ago
useradm.py migrate to git 4 years ago
useradm~migrate to git migrate to git 4 years ago

README.md

Useradm

Modular Python User Management Tool

Useradm is used to manage Redbrick’s membership.

Functions

New User Creation

  1. Queries DCU’s AD server for User information;

    • Fullname
    • Student ID
    • DCU altmail
    • Course of Study
    • Year of Study.
  2. Asks user for nickname, queries if nick exists in Redbrick LDAP.

  3. 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.

Renew User

  1. Queries RB LDAP using user nickname.
  2. If Yearspaid <1, set yearsPaid=1
  3. problem if the user’s shell is /usr/local/shell/expired and is renewed, shell isn’t reset to /usr/local/shell/zsh
  4. 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.