mirror of
https://github.com/systemd/systemd.git
synced 2024-12-18 06:33:36 +08:00
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:
parent
63be1989c7
commit
f8f14b3654
10
Makefile.am
10
Makefile.am
@ -3847,14 +3847,12 @@ loginctl_SOURCES = \
|
||||
src/login/loginctl.c \
|
||||
src/login/sysfs-show.c
|
||||
|
||||
loginctl_CFLAGS = \
|
||||
$(AM_CFLAGS) \
|
||||
$(DBUS_CFLAGS)
|
||||
|
||||
loginctl_LDADD = \
|
||||
libsystemd-dbus.la \
|
||||
libsystemd-bus-internal.la \
|
||||
libudev-internal.la \
|
||||
libsystemd-shared.la
|
||||
libsystemd-shared.la \
|
||||
libsystemd-id128-internal.la \
|
||||
libsystemd-daemon-internal.la
|
||||
|
||||
rootbin_PROGRAMS += \
|
||||
loginctl
|
||||
|
@ -86,6 +86,42 @@
|
||||
string and exits.</para></listitem>
|
||||
</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>
|
||||
<term><option>-p</option></term>
|
||||
<term><option>--property=</option></term>
|
||||
@ -122,21 +158,6 @@
|
||||
</listitem>
|
||||
</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>--kill-who=</option></term>
|
||||
|
||||
@ -168,26 +189,6 @@
|
||||
<constant>SIGTERM</constant>.</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>-P</option></term>
|
||||
<term><option>--privileged</option></term>
|
||||
|
||||
<listitem><para>Acquire privileges via
|
||||
PolicyKit before executing the
|
||||
operation.</para></listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>The following commands are understood:</para>
|
||||
|
1492
src/login/loginctl.c
1492
src/login/loginctl.c
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user