Posted on 06-10-2024 12:22 PM
Has anyone figured out an automated way to allow non admin users to the System Preferences -> Security & Privacy -> Privacy to be able to Allow anyways to open apps. i've tried
#!/bin/sh
security authorizationdb write system.preferences allow
security authorizationdb write system.preferences.datetime allow
security authorizationdb write system.preferences.SecurityPrivacy allow
security authorizationdb write system.preferences.security allow
exit 0
But still cant get this to work with out admin credentials.
Posted on 06-10-2024 12:36 PM
not quite sure what your trying to achieve, but installing Slack via Homebrew seems kinda niche? Why not use JAMF App Installers?
Posted on 06-10-2024 01:15 PM
For most privacy settings, you want to manage them with a Configuration Profile. Either auto allow or enabling the user to allow a setting without admin access.
For the Malicious software popup, that is because the application has not been notarized by Apple. This is gatekeeper and should not be disabled. Honestly, any instance of this you see you should be evaluating individually. Something like slack should be downloaded from slacks website, and it would be notarized, and you would not get this popup. I have no idea why you are trying to install an old version of slack, but don't. Generally speaking, Homebrew should be used very sparingly.
Notarizing macOS software before distribution | Apple Developer Documentation
Apple can’t check app for malicious software - Apple Support
Posted on 06-10-2024 01:31 PM
quick clarification not trying to install Slack from Homebrew. trying to install Slack CLI from homebrew is what is trying to be installed.
https://api.slack.com/automation/quickstart
06-10-2024 03:11 PM - edited 06-10-2024 03:12 PM