osx - Objective c: How to change option in "Security & Privacy" via terminal -
i want change selection of "allow applications downloaded :" anywhere via terminal.
thanks!!
these 3 settings combination of big on/off
switch , system policy database. these settings affect syspolicyd
, , how interacts system.
the 'master on/off' switch can configured using spctl
command line tool. managing these settings requires administrator privileges. turn off use:
sudo spctl --master-disable
to enable use:
sudo spctl --master-enable
to check if it's in on/off use
spctl --check-status
the app store vs. identified developers option controlled content of database. rules enabled/disabled based on setting. don't know exact format of database (i spent short time reverse engineering it, didn't care enough follow through), , i'm sure apple change between releases, knowledge gained format need relearned between releases.
it's not answer you're looking for, seems how it's implemented in system.
Comments
Post a Comment