[systemd-devel] Shutdown notify

Lennart Poettering lennart at poettering.net
Wed Aug 20 06:58:46 PDT 2014


On Wed, 20.08.14 15:50, Michal Witanowski (m.witanowski at samsung.com) wrote:

> 
> The inhibit locks mechanism seems to be the solution, but another problem
> appeared. I am unable to call Inhibit() method as non-root user. In the
> documentation I read "Taking inhibitor locks is a privileged operation.
> Depending on the action...". But how can I add a user to privileged users
> group? Note that I do NOT have PolicyKit in the system...

Well, PK is how we open up those calls for unpriviliged clients... 

If you don't have PK then this functionality will not be available...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list