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:
parent
34ca17f672
commit
3a48c54ead
@ -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
|
||||
|
@ -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/*
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user