Skip to main content

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?

@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. 

https://github.com/kylejericson/JAMF/blob/master/Scripts/Allow%20standard%20users%20rights%20to%20system%20prefs.sh

 


@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. 

https://github.com/kylejericson/JAMF/blob/master/Scripts/Allow%20standard%20users%20rights%20to%20system%20prefs.sh

 


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! :)