From 3faa16d7830abbbd5b2b62430dfb31699c2e2cfb Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Thu, 2 Jul 2026 11:42:41 +0200 Subject: [PATCH] notes --- content/notes/linux_utils.md | 24 +++++++++++++++++++++++- content/notes/server/Containers.md | 2 -- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/content/notes/linux_utils.md b/content/notes/linux_utils.md index 63014d4..d83466d 100644 --- a/content/notes/linux_utils.md +++ b/content/notes/linux_utils.md @@ -110,4 +110,26 @@ tar -xzf yourfile.tar.gz ### sync two dirs ``` unison /path/to/dir/one /path/to/dir/two -``` \ No newline at end of file +``` + +### useradd +```bash +useradd -m -s /bin/bash username +userdel -r username +``` + +### ssh disable password +https://askubuntu.com/questions/1516262/why-is-50-cloud-init-conf-created + +```sh +#/etc/ssh/sshd_config.d/00-only-pubkey-auth.conf +PasswordAuthentication no +ChallengeResponseAuthentication no +UsePam no +``` + +### Network speed monitor +``` +slurm +``` + diff --git a/content/notes/server/Containers.md b/content/notes/server/Containers.md index ddefd62..74f5882 100644 --- a/content/notes/server/Containers.md +++ b/content/notes/server/Containers.md @@ -59,5 +59,3 @@ Restart=always WantedBy=default.target ``` -## CALENDAR -