MAC OS - Allowing Security / Accessibility Setting via Terminal
Hi Beloved Atera Community
Recently I am struglling with Automation for onboarding our important key apps on all the devices.
During this I enountered on issue, where a certain app which is installed require access to "Accessibility" and "ScreenRecording".
Take example of Screenconnect
I am finding a way that we acheive all such permissions just by running a script through atera.
I have till now managed to get a script using curl command and install the application silently however application require access to "Accessibility" and "ScreenRecording which i want to automate.
Would appreciate help from community as this would be interesting.
Appreciated
Comments
-
Is this for Mac?
0 -
Yes @tanderson This is especially for MAC devices
0 -
@ayoun.khawaja Sorry should have read the title of the post. You can try this:
Enable Accessibility for an App:
You can grant accessibility permissions to an app using thetccutil
command. Replace<bundle_id>
with the bundle identifier of the app you want to grant accessibility access to.sudo tccutil add Accessibility com.example.app
Enable Full Disk Access:
To grant full disk access to a specific app, you can use thetccutil
command. Replace<bundle_id>
with the bundle identifier of the app.sudo tccutil add FullDiskAccess com.example.app
0 -
Hi @tanderson
Highly Appreciated your response on this one, Atleast i have a hope that some here can share their experiences.
Command you shared for tccutil i already tried last week before coming to the community.
Again i have tried and get the error of "tccutil: Usage: tccutil reset SERVICE [BUNDLE_ID]"
See attached
Regards
0 -
@ayoun.khawaja Does this work to reset? tccutil reset Accessibility com.example.app
Unfortunately, I no longer have a Mac, so there is no way for me to test on my end.
0 -
Hi @tanderson
Currently the main issue is if we use the MAC machine terminal directly, We are able to use this command.
But what i am trying to achieve is running this command via Atera CMD/Terminal
With MAC machine itself, Once we run this command "sudo tccutil add FullDiskAccess com.example.app" terminal asks for a password then adds up the permissions.
How we should be able to deal this within Atera ? anyway to grant atera full right so it wont ask for password ? some alternative ?
Appreciated
Regards
0 -
@ayoun.khawaja You should be able to give full permission to the atera app inside the Mac's security/permission section and then use the command without a password. If that is not working, I would ask Atera support. I wish I could help more, but I don't have any Mac devices to test with.
0 -
@tanderson Highly Appreciated your response. If this can get escalated somehow would be great. All these actions i have executed but no luck. We really love Atera and wants to ensure all our endpoints are fully controlled via this. Hope someone from community or Atera can help us in this
0
Topics
- All Topics
- 41 Getting started
- 25 Read before posting
- 8 Meet and greet
- 237 General
- 64 News and announcements
- 1 Swag
- 1 Roadmap updates
- 79 Resources
- 12 Knowledge Base
- 16 Webinars
- 1 Shared Script Library
- 2 Blog
- 19 Pro Tips
- 27 Got an idea?
- 3 Atera Academy
- 2 ActionAI
- 1 Copilot
- 140 Remote Monitoring and Management
- 84 Remote Monitoring
- 27 Patch Management
- 105 Professional Services Automation
- 64 Helpdesk
- 17 Billing
- 21 Reporting
- 36 Integrations & add-ons
- 20 Integrations
- 10 Add-ons
- 103 Scripting and automations
- 61 Scripts
- 30 Automations