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

Fix chmod 700 /home/*

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-12-31 14:40:36 -07:00
parent 499b187570
commit 34ca17f672
Signed by: Tomster
GPG Key ID: 555C902A34EC968F
5 changed files with 7 additions and 4 deletions

View File

@ -37,7 +37,7 @@ sudo sed -i 's/umask 022/umask 077/g' /etc/bashrc
echo 'umask 077' | sudo tee -a /etc/bashrc
# Make home directory private
chmod 700 /home/*
sudo chmod 700 /home/*
# Setup NTS
sudo rm -rf /etc/chrony/chrony.conf

View File

@ -28,7 +28,7 @@ sudo systemctl mask debug-shell.service
echo 'CtrlAltDelBurstAction=none' | sudo tee -a /etc/systemd/system.conf
# Make home directory private
chmod 700 /home/*
sudo chmod 700 /home/*
# Setup NTS
sudo rm -rf /etc/chrony/chrony.conf

View File

@ -39,6 +39,9 @@ OPTIONS="-F 1"' | sudo tee /etc/sysconfig/chronyd
sudo systemctl restart chronyd
# Make home directory private
sudo chmod 700 /home/*
# Setup Firewalld
sudo firewall-cmd --permanent --remove-service=cockpit

View File

@ -38,7 +38,7 @@ sudo apt autoremove -y
sudo usg fix cis_level2_workstation
# Make home directory private
chmod 700 /home/*
sudo chmod 700 /home/*
# Remove AIDE
sudo apt purge -y aide*

View File

@ -41,7 +41,7 @@ sudo apt install -y curl
#sudo usg fix cis_level2_server
# Make home directory private
chmod 700 /home/*
sudo chmod 700 /home/*
# Remove AIDE
#sudo apt purge -y aide*