Bug#863483: kodi: Provide polkit file for shutdown actions for kodi-standalone

James Cowgill jcowgill at debian.org
Sat May 27 17:30:31 UTC 2017


Hi,

On 27/05/17 16:45, Sebastian Bachmann wrote:
> Source: kodi
> Version: 2:17.1+dfsg1-3
> Severity: wishlist
> 
> Dear Maintainer,
> 
> to use kodi-standalone to a full extend, one need to add a polkit file to allow
> the kodi user to shutdown the machine.
> As the systemd service is also provided by the package, I think it would be good
> to provide this file as well or note it in the README (I was not able to find
> it).
> 
> The content of the file /etc/polkit-1/localauthority/50-local.d/kodi.pkla
> should look like this:
> 
> [kodi user]
> Identity=unix-user:kodi
> Action=org.freedesktop.login1.*
> ResultAny=yes
> ResultInactive=no
> ResultActive=yes

Allowing the 'org.freedesktop.login1.*' action is probably too much,
since that also allows the kodi user to do some things which only root
should be able to do (like killing other sessions/users).

James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-multimedia-maintainers/attachments/20170527/0576ef2c/attachment-0001.sig>


More information about the pkg-multimedia-maintainers mailing list