loginctl: convert to sd-bus
NOTE: the show-* subcommands do not print some properties: this are those with types like (so), a(so), (uo),... we need to fix this, but I'm not sure how
This commit is contained in:
committed by
Lennart Poettering
parent
63be1989c7
commit
f8f14b3654
+4
-6
@@ -3847,14 +3847,12 @@ loginctl_SOURCES = \
|
|||||||
src/login/loginctl.c \
|
src/login/loginctl.c \
|
||||||
src/login/sysfs-show.c
|
src/login/sysfs-show.c
|
||||||
|
|
||||||
loginctl_CFLAGS = \
|
|
||||||
$(AM_CFLAGS) \
|
|
||||||
$(DBUS_CFLAGS)
|
|
||||||
|
|
||||||
loginctl_LDADD = \
|
loginctl_LDADD = \
|
||||||
libsystemd-dbus.la \
|
libsystemd-bus-internal.la \
|
||||||
libudev-internal.la \
|
libudev-internal.la \
|
||||||
libsystemd-shared.la
|
libsystemd-shared.la \
|
||||||
|
libsystemd-id128-internal.la \
|
||||||
|
libsystemd-daemon-internal.la
|
||||||
|
|
||||||
rootbin_PROGRAMS += \
|
rootbin_PROGRAMS += \
|
||||||
loginctl
|
loginctl
|
||||||
|
|||||||
+36
-35
@@ -86,6 +86,42 @@
|
|||||||
string and exits.</para></listitem>
|
string and exits.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><option>--no-pager</option></term>
|
||||||
|
|
||||||
|
<listitem><para>Do not pipe output into a
|
||||||
|
pager.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><option>--no-ask-password</option></term>
|
||||||
|
|
||||||
|
<listitem><para>Do not query the user
|
||||||
|
for authentication for privileged
|
||||||
|
operations.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><option>-H</option></term>
|
||||||
|
<term><option>--host</option></term>
|
||||||
|
|
||||||
|
<listitem><para>Execute the operation
|
||||||
|
remotely. Specify a hostname, or
|
||||||
|
username and hostname separated by <literal>@</literal>,
|
||||||
|
to connect to. This will use SSH to
|
||||||
|
talk to the remote login manager
|
||||||
|
instance.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry>
|
||||||
|
<term><option>-M</option></term>
|
||||||
|
<term><option>--machine=</option></term>
|
||||||
|
|
||||||
|
<listitem><para>Execute the operation on a
|
||||||
|
local container. Specify a container
|
||||||
|
name to connect to.</para></listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>-p</option></term>
|
<term><option>-p</option></term>
|
||||||
<term><option>--property=</option></term>
|
<term><option>--property=</option></term>
|
||||||
@@ -122,21 +158,6 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--no-pager</option></term>
|
|
||||||
|
|
||||||
<listitem><para>Do not pipe output into a
|
|
||||||
pager.</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>--no-ask-password</option></term>
|
|
||||||
|
|
||||||
<listitem><para>Do not query the user
|
|
||||||
for authentication for privileged
|
|
||||||
operations.</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><option>--kill-who=</option></term>
|
<term><option>--kill-who=</option></term>
|
||||||
|
|
||||||
@@ -168,26 +189,6 @@
|
|||||||
<constant>SIGTERM</constant>.</para></listitem>
|
<constant>SIGTERM</constant>.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>-H</option></term>
|
|
||||||
<term><option>--host</option></term>
|
|
||||||
|
|
||||||
<listitem><para>Execute the operation
|
|
||||||
remotely. Specify a hostname, or
|
|
||||||
username and hostname separated by <literal>@</literal>,
|
|
||||||
to connect to. This will use SSH to
|
|
||||||
talk to the remote login manager
|
|
||||||
instance.</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
|
|
||||||
<varlistentry>
|
|
||||||
<term><option>-P</option></term>
|
|
||||||
<term><option>--privileged</option></term>
|
|
||||||
|
|
||||||
<listitem><para>Acquire privileges via
|
|
||||||
PolicyKit before executing the
|
|
||||||
operation.</para></listitem>
|
|
||||||
</varlistentry>
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
<para>The following commands are understood:</para>
|
<para>The following commands are understood:</para>
|
||||||
|
|||||||
+580
-912
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user