Home

Search IconIcon to open search

Born2beRoot

This School 21 project is about System Administration (Linux), managing Virtual machines, etc.

# Different things to know

# Notes

Maybe config file for everything? Also, it’s more convenient to work with the server through SSH than from VirtualBox.

To use netstat, install net-tools.

# Step-by-step thingies I’ve done
  1. SSH
  2. Commented AcceptEnv LANG LC_ in /etc/ssh/sshd_config because of this
  3. Installed sudo, ufw, apparmor profiles
  4. Configured UFW
  5. Configured AppArmor (enforced /etc/apparmor.d/*)
  6. Configured sudo
  7. sudo crontab -e, added monitoring.sh to execute every 10 minutes
  8. Installed libpam-pwquality, libpam-cracklib, added rules for passwords in /etc/pam.d/common-password
  9. Edited /etc/login.defs (works only for NEW users):
1
2
3
PASS_MAX_DAYS 30
PASS_MIN_DAYS 2
PASS_WARN_AGE 7

# To-do

# Things to know

LVM
Apt vs Aptutide
AppArmor

# To learn

# Useful commands