Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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