1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-23 15:22:12 -05:00

Remove theatre

This commit is contained in:
Tommy 2024-01-02 01:38:34 -07:00 committed by GitHub
parent 34ca17f672
commit 3a48c54ead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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/*

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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