File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -48,15 +48,11 @@ unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/m
4848sudo systemctl daemon-reload
4949sudo systemctl restart sshd
5050
51- # Rebuild initramfs
52- update-initramfs -u
53-
5451# Kernel hardening
5552unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/modprobe.d/server-blacklist.conf | sudo tee /etc/modprobe.d/server-blacklist.conf > /dev/null
5653sudo chmod 644 /etc/modprobe.d/server-blacklist.conf
5754unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/sysctl.d/99-server.conf | sudo tee /etc/sysctl.d/99-server.conf > /dev/null
5855sudo chmod 644 /etc/sysctl.d/99-server.conf
59- sudo dracut -f
6056sudo sysctl -p
6157
6258# Disable coredump
You can’t perform that action at this time.
0 commit comments