[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCHES] Whip polkit into shape
From: |
Andy Wingo |
Subject: |
[PATCHES] Whip polkit into shape |
Date: |
Tue, 01 Sep 2015 13:53:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Attached are three patches to polkit. The first makes polkit use
elogind for seat management. The second is based on a WIP patch from
Mark, and arranges for polkit to look in the system profile for rules
and actions. The third adds a polkit service. I've tested these by
running "pkaction" and "pkcheck", both with an embedded authentication
agent and with an external agent. Kinda cool to see these work.
Unfortunately I haven't gotten user-mode "loginctl reboot" to work --
for some reason it doesn't end up spawning the authentication agent
correctly. Oh well, future work. Usually people will be running with a
authentication agent linked to their graphical session anyway.
BTW, for XFCE there appears to be this thing:
https://github.com/ncopa/xfce-polkit
See also:
https://wiki.archlinux.org/index.php/Polkit#Authentication_agents
Cheers,
Andy