home · contact · privacy
Add firefall enabling to setup script.
[config] / buster / setup_scripts / setup_server.sh
index 6d92c7c979266829d7d606c1711c446055cf6e95..5f05ce94af495dae840f98c5eeb7d5a55c807b4f 100755 (executable)
@@ -16,3 +16,13 @@ config_tree_prefix="${HOME}/config/buster"
 setup_scripts_dir="${config_tree_prefix}/setup_scripts"
 cd "${setup_scripts_dir}"
 ./setup.sh "${hostname}" "${fqdn}" server
+
+# If we have not yet set the shell for user plom, ensure it here. This
+# is mostly for convenience.
+usermod -s /bin/bash plom
+
+# We want to be able to use ALL our servers as borg backup destinations.
+apt -y install borgbackup
+
+# Enable firewall.
+systemctl enable nftables.service