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
signature.asc
Description: OpenPGP digital signature