Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # This will add lauchd to the list of allowed processes for accessibility access
- sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db "INSERT or REPLACE INTO access VALUES('kTCCServiceAccessibility','/sbin/launchd',1,1,1,NULL)"
- # This outputs the rows in the TCC database
- sudo sqlite3 /Library/Application\ Support/com.apple.TCC/TCC.db 'select * from access'
- echo "Restart is required for these changes to take effect"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement