mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-22 09:31:34 -05:00
Remove theatre
This commit is contained in:
parent
34ca17f672
commit
3a48c54ead
@ -25,11 +25,8 @@ unpriv(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Compliance
|
# 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 debug-shell.service
|
||||||
sudo systemctl mask kdump.service
|
sudo systemctl mask kdump.service
|
||||||
echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf
|
|
||||||
|
|
||||||
# Setting umask to 077
|
# Setting umask to 077
|
||||||
umask 077
|
umask 077
|
||||||
|
@ -23,9 +23,7 @@ unpriv(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Compliance
|
# Compliance
|
||||||
sudo systemctl mask ctrl-alt-del.target
|
|
||||||
sudo systemctl mask debug-shell.service
|
sudo systemctl mask debug-shell.service
|
||||||
echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf
|
|
||||||
|
|
||||||
# Make home directory private
|
# Make home directory private
|
||||||
sudo chmod 700 /home/*
|
sudo chmod 700 /home/*
|
||||||
|
@ -21,9 +21,7 @@ output(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Compliance
|
# Compliance
|
||||||
systemctl mask ctrl-alt-del.target
|
|
||||||
systemctl mask debug-shell.service
|
systemctl mask debug-shell.service
|
||||||
echo 'CtrlAltDelBurstAction=none' | tee -a /etc/systemd/system.conf
|
|
||||||
|
|
||||||
# Setup NTS
|
# Setup NTS
|
||||||
rm -rf /etc/chrony/chrony.conf
|
rm -rf /etc/chrony/chrony.conf
|
||||||
|
@ -25,11 +25,8 @@ unpriv(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
# Compliance
|
# 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 debug-shell.service
|
||||||
sudo systemctl mask kdump.service
|
sudo systemctl mask kdump.service
|
||||||
echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf
|
|
||||||
|
|
||||||
# Setup NTS
|
# Setup NTS
|
||||||
sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf
|
sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf
|
||||||
|
@ -26,9 +26,7 @@ unpriv(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
#Compliance and updates
|
#Compliance and updates
|
||||||
sudo systemctl mask ctrl-alt-del.target
|
|
||||||
sudo systemctl mask debug-shell.service
|
sudo systemctl mask debug-shell.service
|
||||||
echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf
|
|
||||||
|
|
||||||
sudo ua enable usg
|
sudo ua enable usg
|
||||||
sudo apt update -y
|
sudo apt update -y
|
||||||
|
@ -25,7 +25,6 @@ unpriv(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
#Compliance and updates
|
#Compliance and updates
|
||||||
sudo systemctl mask ctrl-alt-del.target
|
|
||||||
sudo systemctl mask debug-shell.service
|
sudo systemctl mask debug-shell.service
|
||||||
echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf
|
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
|
echo 'Authorized uses only. All activity may be monitored and reported.' | sudo tee /etc/issue
|
||||||
|
Loading…
Reference in New Issue
Block a user