summaryrefslogtreecommitdiff
path: root/man/systemd-notify.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-01-05 13:26:38 +0100
committerLennart Poettering <lennart@poettering.net>2018-01-11 15:12:16 +0100
commit65c6b99094580afa186199d8091cd7536900526c (patch)
tree15abca5dcb67a9cd01a06bef29205cf318def7bf /man/systemd-notify.xml
parent9e1d021ee3f147486c5cfac69b3cbf6f4b36eb79 (diff)
downloadsystemd-65c6b99094580afa186199d8091cd7536900526c.tar.gz
notify: add new --uid= command
The new --uid= switch allows selecting the UID from which the notificaiton messages shall originate. This is primarily useful for testing purposes, but might have other uses.
Diffstat (limited to 'man/systemd-notify.xml')
-rw-r--r--man/systemd-notify.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml
index acd4ee41fc..874bdd882b 100644
--- a/man/systemd-notify.xml
+++ b/man/systemd-notify.xml
@@ -123,6 +123,15 @@
</varlistentry>
<varlistentry>
+ <term><option>--uid=</option><replaceable>USER</replaceable></term>
+
+ <listitem><para>Set the user ID to send the notification from. Takes a UNIX user name or numeric UID. When
+ specified the notification message will be sent with the specified UID as sender, in place of the user the
+ command was invoked as. This option requires sufficient privileges in order to be able manipulate the user
+ identity of the process.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--status=</option></term>
<listitem><para>Send a free-form status string for the daemon