Polkit rules recommendation

Nate Graham nate at kde.org
Thu Apr 24 11:53:50 BST 2025



On 4/24/25 12:11 PM, Sune Vuorela wrote:
> On 2025-04-24, Nate Graham <nate at kde.org> wrote:
>> This is my first time writing polkit rules, and I can verify they work,
>> but am not 100% sure they're as good as they could be, so if anyone has
>> suggestions, feel free to share.
> 
> Shouldn't it be limited to only allowed for current console user ?

Improvements are welcome.

In general both should be able to run passwordlessly for the current 
user when invoked interactively, and 
org.freedesktop.timedate1.set-timezone should additionally be able to 
run passwordlessly when invoked by the "Location-based System Time Zone" 
tool.

Nate


More information about the Distributions mailing list