diff --git a/Fedora-Workstation-39.sh b/Fedora-Workstation-39.sh index d3c0e5c..781ae70 100644 --- a/Fedora-Workstation-39.sh +++ b/Fedora-Workstation-39.sh @@ -25,11 +25,8 @@ unpriv(){ } # Compliance -sudo rm /etc/systemd/system/ctrl-alt-del.target -sudo systemctl mask ctrl-alt-del.target sudo systemctl mask debug-shell.service sudo systemctl mask kdump.service -echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf # Setting umask to 077 umask 077 diff --git a/GCP-Debian-11.sh b/GCP-Debian-11.sh index aae4f73..9c1f206 100644 --- a/GCP-Debian-11.sh +++ b/GCP-Debian-11.sh @@ -23,9 +23,7 @@ unpriv(){ } # Compliance -sudo systemctl mask ctrl-alt-del.target sudo systemctl mask debug-shell.service -echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf # Make home directory private sudo chmod 700 /home/* diff --git a/Proxmox-8.sh b/Proxmox-8.sh index 1263c7e..54f0c86 100644 --- a/Proxmox-8.sh +++ b/Proxmox-8.sh @@ -21,9 +21,7 @@ output(){ } # Compliance -systemctl mask ctrl-alt-del.target systemctl mask debug-shell.service -echo 'CtrlAltDelBurstAction=none' | tee -a /etc/systemd/system.conf # Setup NTS rm -rf /etc/chrony/chrony.conf diff --git a/RHEL-Server-9.sh b/RHEL-Server-9.sh index 2a483cb..75fecec 100644 --- a/RHEL-Server-9.sh +++ b/RHEL-Server-9.sh @@ -25,11 +25,8 @@ unpriv(){ } # Compliance -sudo rm /etc/systemd/system/ctrl-alt-del.target -sudo systemctl mask ctrl-alt-del.target sudo systemctl mask debug-shell.service sudo systemctl mask kdump.service -echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf # Setup NTS sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf diff --git a/Ubuntu-22.04-Desktop.sh b/Ubuntu-22.04-Desktop.sh index 0bc25fe..a416049 100644 --- a/Ubuntu-22.04-Desktop.sh +++ b/Ubuntu-22.04-Desktop.sh @@ -26,9 +26,7 @@ unpriv(){ } #Compliance and updates -sudo systemctl mask ctrl-alt-del.target sudo systemctl mask debug-shell.service -echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf sudo ua enable usg sudo apt update -y diff --git a/Ubuntu-22.04-Server.sh b/Ubuntu-22.04-Server.sh index f650c24..3af5fee 100644 --- a/Ubuntu-22.04-Server.sh +++ b/Ubuntu-22.04-Server.sh @@ -25,7 +25,6 @@ unpriv(){ } #Compliance and updates -sudo systemctl mask ctrl-alt-del.target sudo systemctl mask debug-shell.service echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf echo 'Authorized uses only. All activity may be monitored and reported.' | sudo tee /etc/issue