Hi,

I've done most of the Power Management settings SystemPreferences.app
plugin. I can adjust everything except the IdleActionSec setting. When I
try to adjust my slider bar the console is showing.

2025-02-02 09:18:24.450 SystemPreferences[305786:305786] Failed to set
IdleActionSec: Permission denied

I want a way to escalate the privileges of my application to root level,
but only for the specific function. I also only want the user to
authenticate once and then have their escalated privilege exist until they
close the plugin. Similar to the unlock padlock button in OSX's
SystemPreferences.app. Does anyone know howto implement this?

Reply via email to