Manage permissions using a terminal

Is it possible to manage permissions in "Privacy & Security" using a terminal, not a GUI?

Posted on Apr 26, 2023 2:57 PM

Reply
9 replies

Apr 26, 2023 3:24 PM in response to y34r-z3r0

Maybe there is an opportunity to bypass this functionality with the help of some attribute?

What issue do you have with the user approving your script controlling the Mac?

The whole point of the system is to prevent rogue apps from changing settings.

I'm not sure, but it might be possible to control that with a Profile in a Mobile Device Management (MDM) scheme.


Apr 26, 2023 3:34 PM in response to y34r-z3r0

y34r-z3r0 wrote:

I know it looks like a malware, but it is needed for centralized installation of software, which in beta testing only offers a GUI option, with a "yes" or "no" click. My task is to make sure that the software installs the way we need it, and not the way the end user decides due to unnecessary questions during installation.

I posted at the same time as you were posting your explanation of why you wanted to do it. My question had nothing to do with malware. However, based on your subsequent elaboration of what you're trying to do, I perhaps should have thought of that.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Manage permissions using a terminal

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.