@lanodan I agree with this, especially regarding Polkit! I'd like to point though that the second option doesn't require setuid. By "system-wide", I mean running the daemon as root or as a dedicated user with necessary permissions, so the daemon would expose its D-Bus API on the system bus and access would just be restricted to a certain group. The setuid thing is another option that's closer to "as the user" but avoids assigning permissions directly.