From 74a64b67914fe25dfd0d651dd9978833344fd98d Mon Sep 17 00:00:00 2001 From: Dennis Frieberg Date: Thu, 27 Mar 2025 13:09:14 +0100 Subject: [PATCH 1/2] first notes --- 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 From cfa1d45b611cae613a711d2d696edf391a1d219f Mon Sep 17 00:00:00 2001 From: Dennis Frieberg Date: Mon, 17 Mar 2025 14:38:34 +0100 Subject: [PATCH 2/2] work in progress --- doc/newAdmin.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/newAdmin.md b/doc/newAdmin.md index 6b7bda9..030f626 100644 --- a/doc/newAdmin.md +++ b/doc/newAdmin.md @@ -24,14 +24,16 @@ self explenatory - 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` + - `chmod 700 .ssh/` + - `chmod 600 .ssh/authorized_keys` +- You can connect now 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. +Right now there is one gpg key on azatoth that is secured with a password. You should get the password. # get access to the git repo +- You need to get an account at [git.mathebau.de](https://git.mathebau.de). +- You need to get added to the Server Minions # get your credentials placed in the git repo