/usr/bin/landscape-client-settings-mechanism is in landscape-client-ui 14.01-0ubuntu3.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #! /usr/bin/python
import dbus
from landscape.configuration import LandscapeSetupConfiguration
from landscape.ui.model.configuration.mechanism import (
ConfigurationMechanism, INTERFACE_NAME, SERVICE_NAME)
from landscape.ui.lib.polkit import listen
if __name__ == "__main__":
dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
bus = dbus.SystemBus()
bus_name = dbus.service.BusName(SERVICE_NAME, bus)
config = LandscapeSetupConfiguration()
mechanism = ConfigurationMechanism(config, bus_name)
listen()
|