Handle LXC limitations for sysctl/auditd and clean UFW SSH rule

This commit is contained in:
root
2026-05-10 20:30:30 +00:00
parent c7bec29f7c
commit 4f578eea52
2 changed files with 21 additions and 5 deletions
+5
View File
@@ -40,6 +40,11 @@ sudo ufw status
sudo systemctl restart ssh
```
## Hinweis fuer LXC
In unprivilegierten LXC-Containern koennen `sysctl`-Keys und `auditd` teilweise nicht gesetzt/gestartet werden.
Das Skript erkennt Container und ueberspringt diese Schritte automatisch, statt mit Fehlern abzubrechen.
## Wichtige Konfigurationen
- `config/fail2ban/jail.local`