From 94bfe93a7e5256f09fbcf24dd07dbfabf4cb8e77 Mon Sep 17 00:00:00 2001 From: Dennis Frieberg Date: Thu, 6 Mar 2025 13:56:36 +0100 Subject: [PATCH] fist notes for new admin documentation --- doc/newAdmin.md | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 doc/newAdmin.md diff --git a/doc/newAdmin.md b/doc/newAdmin.md new file mode 100644 index 0000000..6b7bda9 --- /dev/null +++ b/doc/newAdmin.md @@ -0,0 +1,37 @@ +[TOC] + +# Required Software +- ssh +- git +- sops +- nix + +# ask Student Council +self explenatory + +# get a key and transponder + +# inclusion into the Matrix Chat +self explenatory + +# get added to the `root@mathebau.de` mail thing + +# get azatoth account +- Example user `dennis` +- `sudo adduser dennis --disabled-password` to create the user +- `sudo usermod -a -G sudo dennis` to give admin priviledges to the user +- SSH-Pubkey in `/home/dennis/.ssh/authorized_keys` +- Set correct rights for `.ssh/` and `authorized_keys` + - The following has worked + - `chown -R dennis:dennis .ssh/` + - `chmod 755 .ssh/` + - `chmod 644 .ssh/authorized_keys` +- You can now connect with `ssh dennis@fb04184.mathematik.tu-darmstadt.de` + +# get access to the pass on azatoth +Right there is one gpg key on azatoth that is secured with a password. +You should get the password. + +# get access to the git repo + +# get your credentials placed in the git repo