File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,7 @@ sudo systemctl restart sshd
5050
5151# Kernel hardening
5252unpriv 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
53+ sed -i ' s/^install squashfs/#install squashfs/' /etc/modprobe.d/server-blacklist.conf
5354sudo chmod 644 /etc/modprobe.d/server-blacklist.conf
5455unpriv 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
5556sudo chmod 644 /etc/sysctl.d/99-server.conf
@@ -60,4 +61,4 @@ unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/m
6061sudo chmod 644 /etc/security/limits.d/30-disable-coredump.conf
6162sudo mkdir -p /etc/systemd/coredump.conf.d
6263unpriv curl -s https://raw.githubusercontent.com/Metropolis-nexus/Common-Files/main/etc/systemd/coredump.conf.d/disable.conf | sudo tee /etc/systemd/coredump.conf.d/disable.conf > /dev/null
63- sudo chmod 644 /etc/systemd/coredump.conf.d/disable.conf
64+ sudo chmod 644 /etc/systemd/coredump.conf.d/disable.conf
You can’t perform that action at this time.
0 commit comments