From bb393ce3ae86dea79640e626a0582b2b2d32e2ba Mon Sep 17 00:00:00 2001 From: Tommy Date: Tue, 4 Jul 2023 01:46:19 -0700 Subject: [PATCH] Update Ubuntu-22.04-Server.sh Signed-off-by: Tommy --- Ubuntu-22.04-Server.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Ubuntu-22.04-Server.sh b/Ubuntu-22.04-Server.sh index 9fc4f82..09ca40f 100644 --- a/Ubuntu-22.04-Server.sh +++ b/Ubuntu-22.04-Server.sh @@ -2,6 +2,11 @@ #Meant to be run on Ubuntu Pro Minimal +#Compliance +sudo ua enable usg +sudo apt install -y usg +sudo usg fix cis_level2_server + #Security kernel settings sudo curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/modprobe.d/30_security-misc.conf -o /etc/modprobe.d/30_security-misc.conf sudo curl https://raw.githubusercontent.com/Kicksecure/security-misc/master/etc/sysctl.d/30_security-misc.conf -o /etc/sysctl.d/30_security-misc.conf