The University of Utah Marriott have had their Privacy Services Manager tool up for quite some time now and going by the notes in the Readme it looks like it works on current and (with a small caveat) future OS versions.
Nice looking tool, might be easier to use than using sqlite3 if you need to integrate into an installer script.
From: Bill Cheeseman <email@hidden>Reply: Bill Cheeseman <email@hidden>>Date: August 13, 2014 at 11:49:52 AMTo: Installer-Dev Mail <email@hidden>>Subject: Re: Edit "System Preferences - Security" settings during installation
Apple has made it clear that they will block every technique
people come up with to get around the requirement of an
authenticating password to authorize access to applications using
accessibility. So, if that's what this technique accomplishes, use
it at your own risk -- it may well fail on a future update of the
system.
On Aug 13, 2014, at 11:23 AM, Conor Schutzman < email@hidden> wrote:
The date for that table is stored in the
“TCC” database, located at "/Library/Application
Support/com.apple.TCC/TCC.db”
Once you know where to look, it’s a pretty straightforward
manipulation of the SQL:
sqlite3 "/Library/Application Support/com.apple.TCC/TCC.db” "INSERT
or REPLACE into 'access'
VALUES('kTCCServiceAccessibility','com.apple.systemevents',0,1,0,NULL);”
Obviously replace com.apple.systemevents with whatever app you are
trying to pre-approve.
As an aside, I do not know of an easy way to manage this, as in
users will still be able to “uncheck” applications in that list,
even if you add them.
Let m know if that doesn’t get you fixed up.
On Aug 13, 2014, at 4:13 AM, Sergey
Krulikovskiy <email@hidden>
wrote:
Does anybody know how to edit "System Preferences -> Security
& Privacy -> Accessibility" settings (for specific
application) during installation? Probably someone can point me out
in the right direction to start...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
-- Pepijn Bruienne Sent with Airmail |