improve data leaks

This commit is contained in:
2026-05-08 17:42:07 +00:00
parent 7bc8f9dfc7
commit 6bf40e2d05
6 changed files with 480 additions and 72 deletions

View File

@@ -4,3 +4,17 @@ A script that allows admins to make user accounts easily.
Run `make` to install the script to `/usr/local/bin`.
## User removal
Use `rmuser <username>` to remove a user account and clean up related services:
- Removes user from Helpdesk (`helpdesk_admin.sh del`)
- Removes user from ZNC (`zncdelete.py`)
- Discovers user email from `/var/signups` for Helpdesk/list cleanup
- Comments out matching signup entries in `/var/signups`
- Sends mailing list unsubscribe request when an email is discovered
- Deletes the Unix account and home directory (`userdel -r`)
Run `make` to install `rmuser` and `zncdelete.py` to `/usr/local/bin`.