mirror of
https://github.com/tommytran732/macOS-Setup-Script
synced 2024-11-21 17:31:34 -05:00
Quoting
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
1adc95c36b
commit
6cd46d032f
@ -6,7 +6,7 @@ awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | s
|
|||||||
|
|
||||||
# Protect Home
|
# Protect Home
|
||||||
for user in $(ls /Users | grep -v 'Shared'); do
|
for user in $(ls /Users | grep -v 'Shared'); do
|
||||||
sudo chmod 700 /Users/$user
|
sudo chmod 700 /Users/"$user"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Verify SSH Fingerprints
|
# Verify SSH Fingerprints
|
||||||
|
@ -6,7 +6,7 @@ awk 'NR==2 {print "auth sufficient pam_tid.so"} 1' /etc/pam.d/sudo | s
|
|||||||
|
|
||||||
# Protect Home
|
# Protect Home
|
||||||
for user in $(ls /Users | grep -v 'Shared'); do
|
for user in $(ls /Users | grep -v 'Shared'); do
|
||||||
sudo chmod 700 /Users/$user
|
sudo chmod 700 /Users/"$user"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Verify SSH Fingerprints
|
# Verify SSH Fingerprints
|
||||||
|
Loading…
Reference in New Issue
Block a user