Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 951 Bytes

File metadata and controls

31 lines (19 loc) · 951 Bytes

One-Liner-Disable-Enable-Gatekeeper-macOS-Sequoia

  • After using the command, system will shutdown in 10 secounds. Restart the Machine to take effect.

  • Do not use with any other similar tools.

  • Disable Gatekeeper:

sudo defaults write /var/db/SystemPolicyConfiguration/SystemPolicy-prefs.plist enabled -string no && sudo shutdown -h +10s

After the Restart macOS Sequoia System

Anywhere

Anywhere-1


  • Enable Gatekeeper:
sudo defaults write /var/db/SystemPolicyConfiguration/SystemPolicy-prefs.plist enabled -string yes && sudo shutdown -h +10s

After the Restart macOS Sequoia System

Enable