mirror of
https://github.com/tommytran732/macOS-Setup-Script
synced 2024-11-21 17:31:34 -05:00
Add missing sudo
This commit is contained in:
parent
60c5b59486
commit
4a518ea617
@ -18,9 +18,9 @@ sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
|
||||
sudo launchctl remove /System/Library/LaunchDaemons/org.cups.cupsd.plist
|
||||
|
||||
# Firewall rules
|
||||
/usr/libexec/ApplicationFirewall/socketfilterfw --setallowsignedapp off
|
||||
/usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
||||
/usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setallowsignedapp off
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --blockapp /usr/libexec/remoted
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --blockapp /usr/libexec/sharingd
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --blockapp /usr/libexec/sshd-keygen-wrapper
|
||||
|
@ -20,9 +20,9 @@ sudo launchctl unload /System/Library/LaunchDaemons/org.cups.cupsd.plist
|
||||
sudo launchctl remove /System/Library/LaunchDaemons/org.cups.cupsd.plist
|
||||
|
||||
# Firewall rules
|
||||
/usr/libexec/ApplicationFirewall/socketfilterfw --setallowsignedapp off
|
||||
/usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
||||
/usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setallowsignedapp off
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setglobalstate on
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --setstealthmode on
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --blockapp /usr/bin/python3
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --blockapp /usr/bin/ruby
|
||||
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --blockapp /usr/libexec/remoted
|
||||
|
Loading…
Reference in New Issue
Block a user