chiark / gitweb /
systemctl: allow interactive authorization for all bus calls
authorLennart Poettering <lennart@poettering.net>
Wed, 18 Feb 2015 17:54:38 +0000 (18:54 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Feb 2015 17:56:27 +0000 (18:56 +0100)
commit6e646d22f6f9215de5ccb5e5edf450558c59fed1
tree6cefa26802860cd4fec099ab87c8ede210f9da9a
parent1cfa9a4cbb41ef770614fa97961cc056a63c1b7c
systemctl: allow interactive authorization for all bus calls

Make use of the new sd_bus_set_allow_interactive_authorization() call to
globally enable interactive authorization. Also, turn on PK agent for
more calls.

This allows us to make use of the sd_bus_call_method() convencience
helper at more places.
src/systemctl/systemctl.c