From 424a7b0c2f19a8065c5d1b2c2ab9bf572551bee5 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sat, 11 Jan 2025 00:14:08 +0000 Subject: [PATCH] doc: added procedure to modify committee members --- src/procedures/skynet/committee_modify.md | 48 +++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/procedures/skynet/committee_modify.md b/src/procedures/skynet/committee_modify.md index e69de29..8983cac 100644 --- a/src/procedures/skynet/committee_modify.md +++ b/src/procedures/skynet/committee_modify.md @@ -0,0 +1,48 @@ +# Change Committee Members +This page covers the adding and removing of UL Computer Society committee members. + +## Adding +Before starting the committee member in question *must* have a Skynet Account. +This is because we have several services that require authentication to access. +Details on how to create one can be found [here][skynet_account_creation]. + +Once they have an account add their username to [``users.nix``][users.nix]. +Then commit and push. + +Once everything is deployed they should have access to all resources within 15 min. +If you require it sooner than that see the [Force Update](#force-update) section below. + +Next checkout the page on [VaultWarden](./vaultwarden.md) to add the user to the password manager. + +## Removing +Removing is essentially the same as adding. + +Remove their username to [``users.nix``][users.nix]. +Then commit and push. + +## Force Update +If you need to hasten an update you can log into teh server to give it a (virtual) kick. + +### SSH into Kitt +Kit is teh home of the user accounts. +```shell +ssh root@kitt.skynet.ie +``` +### Once attached run these commands +```shell +# reboot the main process +systemctl reboot skynet_ldap_backend.service + +# Update the data (this ensures that folks are current members) +systemctl reboot skynet_ldap_backend-update_data.service + +# Apply the new group roles +systemctl reboot skynet_ldap_backend-update_groups.service +``` +### Exit the terminal. +```shell +quit +``` + +[skynet_account_creation]: ../../tutorials/skynet/create_account.md +[users.nix]: https://forgejo.skynet.ie/Skynet/nixos/src/branch/main/config/users.nix#L52 \ No newline at end of file