From bc80cf463c80f00bb4675718cda833e8b5680592 Mon Sep 17 00:00:00 2001 From: Tommy Date: Sat, 11 Nov 2023 14:51:43 -0700 Subject: [PATCH] Protect home Signed-off-by: Tommy --- administrator.sh | 5 ++++- development.sh | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/administrator.sh b/administrator.sh index 7684206..ade6514 100644 --- a/administrator.sh +++ b/administrator.sh @@ -3,9 +3,12 @@ # Comment this line out if you don't have Touch ID awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo +# Protect Home +sudo chmod 700 /Users/administrator + # Verify SSH Fingerprints echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf # Enable Safari debug menu -defaults write com.apple.Safari IncludeInternalDebugMenu 1 +defaults write com.apple.Safari IncludeInternalDebugMenu 1 \ No newline at end of file diff --git a/development.sh b/development.sh index 05396d5..e0c87f9 100644 --- a/development.sh +++ b/development.sh @@ -3,6 +3,9 @@ # Comment this line out if you don't have Touch ID awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | sudo tee /etc/pam.d/sudo +# Protect Home +sudo chmod 700 /Users/tomster + # Verify SSH Fingerprints echo "VerifyHostKeyDNS yes" | sudo tee /etc/ssh/ssh_config.d/10-custom.conf sudo chmod 644 /etc/ssh/ssh_config.d/10-custom.conf