mirror of
https://github.com/tommytran732/Linux-Setup-Scripts
synced 2024-11-24 18:21:34 -05:00
Compliance update
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
6a6b775631
commit
5aca397a76
@ -25,7 +25,9 @@ unpriv(){
|
||||
}
|
||||
|
||||
# Compliance
|
||||
sudo systemctl disable --now ctrl-alt-del.target
|
||||
sudo systemctl mask ctrl-alt-del.target
|
||||
sudo systemctl mask debug-shell.service
|
||||
sudo systemctl mask kdump.service
|
||||
|
||||
# Setting umask to 077
|
||||
umask 077
|
||||
|
@ -23,7 +23,8 @@ unpriv(){
|
||||
}
|
||||
|
||||
# Compliance
|
||||
sudo systemctl disable --now ctrl-alt-del.target
|
||||
sudo systemctl mask ctrl-alt-del.target
|
||||
sudo systemctl mask debug-shell.service
|
||||
|
||||
# Setup NTS
|
||||
sudo rm -rf /etc/chrony/chrony.conf
|
||||
|
@ -21,7 +21,8 @@ output(){
|
||||
}
|
||||
|
||||
# Compliance
|
||||
sudo systemctl disable --now ctrl-alt-del.target
|
||||
systemctl mask ctrl-alt-del.target
|
||||
systemctl mask debug-shell.service
|
||||
|
||||
# Setup NTS
|
||||
rm -rf /etc/chrony/chrony.conf
|
||||
|
@ -25,7 +25,8 @@ unpriv(){
|
||||
}
|
||||
|
||||
# Compliance
|
||||
sudo systemctl disable --now ctrl-alt-del.target
|
||||
sudo systemctl mask ctrl-alt-del.target
|
||||
sudo systemctl mask debug-shell.service
|
||||
|
||||
# Setup NTS
|
||||
sudo curl https://raw.githubusercontent.com/GrapheneOS/infrastructure/main/chrony.conf -o /etc/chrony.conf
|
||||
|
@ -33,6 +33,9 @@ sudo apt install -y usg
|
||||
sudo apt autoremove -y
|
||||
sudo usg fix cis_level2_workstation
|
||||
|
||||
sudo systemctl mask ctrl-alt-del.target
|
||||
sudo systemctl mask debug-shell.service
|
||||
|
||||
# Remove AIDE
|
||||
sudo apt purge -y aide*
|
||||
|
||||
|
@ -33,6 +33,9 @@ sudo apt install -y usg curl libpam-pwquality
|
||||
sudo apt autoremove -y
|
||||
sudo usg fix cis_level2_server
|
||||
|
||||
sudo systemctl mask ctrl-alt-del.target
|
||||
sudo systemctl mask debug-shell.service
|
||||
|
||||
# Remove AIDE
|
||||
sudo apt purge -y aide*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user