macos-15 fails on sudo security authorizationdb write com.apple.trust-settings.admin allow with error NO (-60005)
Description
The command sudo security authorizationdb write com.apple.trust-settings.admin allow fails with response NO (-60005)
Our organization uses certificates installed on the system to authenticate to a wide variety of platforms and, per best practices, we rotate our certificates regularly (roughly monthly). Our org provides scripts to perform these updates because there are over 100 certs that get updated. Since MacOS15, running these scripts requires a user to manually enter their password for every certificate installation. The only feasible way to do this is to place a password in the clipboard and to paste it in the window prompt. This is insecure and error prone.
Please revert this change, OR, provide the same functionality through a different mechansim.
This is the same issue reported in https://github.com/actions/runner-images/issues/11893
Platforms affected
- [ ] Azure DevOps
- [ ] GitHub Actions - Standard Runners
- [ ] GitHub Actions - Larger Runners
Runner images affected
- [ ] Ubuntu 22.04
- [ ] Ubuntu 24.04
- [ ] macOS 13
- [ ] macOS 13 Arm64
- [ ] macOS 14
- [ ] macOS 14 Arm64
- [x] macOS 15
- [x] macOS 15 Arm64
- [ ] Windows Server 2019
- [ ] Windows Server 2022
- [ ] Windows Server 2025
Image version and build link
The command sudo security authorizationdb write com.apple.trust-settings.admin allow fails with response NO (-60005)
Is it regression?
Regression from Macos-14
Expected behavior
Pass as it does on Macos-14
Actual behavior
Fails with
Warning: NO (-60005)
Error: Exited with code 255
Repro steps
- run 'sudo security authorizationdb write com.apple.trust-settings.admin allow'
- see failure 'NO (-60005)'
Hi @kycrow32, Thank you for bringing this issue to our attention. We are looking into this issue and will update you on it after we investigate.
Hi @kycrow32!,
We replicated the issue and getting same error.
It has been observed that the command sudo security authorizationdb write com.apple.trust-settings.admin allow is explicitly blocked at the system level, even when executed with sudo .
This is because of enhanced security measures, specifically System Integrity Protection (SIP) and Transparency, Consent, and Control (TCC) restrictions implemented within the macOS operating system.
Hi @kycrow32, Please let us know if any additional information is required, or if we can proceed to close the issue.
Hi @kycrow32 We have now created a support ticket with Apple to formally report this behavior and seek their guidance/resolution. The Apple Support ticket reference is: https://feedbackassistant.apple.com/feedback/18896388
Please check the same for further updates.
Hi @kycrow32 Closing this issue, as this is related to macOS system-level changes. We recommend use this ticket as a reference further to work with Apple for this issue.
@archita105 please post the reply in public instead of sharing a link to the walled feedback