Posted on 03-18-2022 01:31 PM
I can't find an easy way to unlock the Battery system pref for clients. I want non-admins to setup their own preferences in Battery.
Am I missing something?
03-19-2022 08:39 PM - edited 03-19-2022 08:40 PM
@llitz123 Try this out, note I have seen these settings reset themselves so might want to run once a week or at login via Outset.
Posted on 03-21-2022 03:35 AM
Hi @KyleEricson,
I modified and tested your script. The following script works:
#!/bin/sh
# unlock the sysprefs before unlocking specific panes:
security authorizationdb write system.preferences allow
# unlock battery:
security authorizationdb write system.preferences.battery allow
exit 0
thank you for sharing! :)