/usr/bin/landscape-client-registration-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 | #! /usr/bin/python
import dbus
from landscape.ui.model.registration.mechanism import (
RegistrationMechanism, 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)
mechanism = RegistrationMechanism(bus_name)
listen()
|