summaryrefslogtreecommitdiff
path: root/man/loginctl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-05-25 17:42:34 +0200
committerLennart Poettering <lennart@poettering.net>2021-05-25 17:42:34 +0200
commit9f48b4e40ea69b90f61ac2e35b3b272f9cc31674 (patch)
tree7588e39ad3141338347e25d4219e69744e8226bb /man/loginctl.xml
parent68892f94aee1400cebbe9f7360cc4a5804c3c2b1 (diff)
downloadsystemd-9f48b4e40ea69b90f61ac2e35b3b272f9cc31674.tar.gz
man: documet that loginctl {terminate|kill}-{session|user} take the empty string, optionally
Fixes: #19711
Diffstat (limited to 'man/loginctl.xml')
-rw-r--r--man/loginctl.xml26
1 files changed, 13 insertions, 13 deletions
diff --git a/man/loginctl.xml b/man/loginctl.xml
index 56a86e56ef..bef3be71c9 100644
--- a/man/loginctl.xml
+++ b/man/loginctl.xml
@@ -113,18 +113,18 @@
<varlistentry>
<term><command>terminate-session</command> <replaceable>ID</replaceable>…</term>
- <listitem><para>Terminates a session. This kills all processes
- of the session and deallocates all resources attached to the
- session. </para></listitem>
+ <listitem><para>Terminates a session. This kills all processes of the session and deallocates all
+ resources attached to the session. If the argument is specified as empty string the session invoking
+ the command is terminated.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>kill-session</command> <replaceable>ID</replaceable>…</term>
- <listitem><para>Send a signal to one or more processes of the
- session. Use <option>--kill-who=</option> to select which
- process to kill. Use <option>--signal=</option> to select the
- signal to send.</para></listitem>
+ <listitem><para>Send a signal to one or more processes of the session. Use
+ <option>--kill-who=</option> to select which process to kill. Use <option>--signal=</option> to
+ select the signal to send. If the argument is specified as empty string the signal is sent to the
+ session invoking the command.</para></listitem>
</varlistentry>
</variablelist></refsect2>
@@ -184,17 +184,17 @@
<varlistentry>
<term><command>terminate-user</command> <replaceable>USER</replaceable>…</term>
- <listitem><para>Terminates all sessions of a user. This kills
- all processes of all sessions of the user and deallocates all
- runtime resources attached to the user.</para></listitem>
+ <listitem><para>Terminates all sessions of a user. This kills all processes of all sessions of the
+ user and deallocates all runtime resources attached to the user. If the argument is specified as
+ empty string the sessions of the user invoking the command are terminated.</para></listitem>
</varlistentry>
<varlistentry>
<term><command>kill-user</command> <replaceable>USER</replaceable>…</term>
- <listitem><para>Send a signal to all processes of a user. Use
- <option>--signal=</option> to select the signal to send.
- </para></listitem>
+ <listitem><para>Send a signal to all processes of a user. Use <option>--signal=</option> to select
+ the signal to send. If the argument is specified as empty string the signal is sent to the sessions
+ of the user invoking the command.</para></listitem>
</varlistentry>
</variablelist></refsect2>