diff options
author | Mateusz Moscicki <m.moscicki2@partner.samsung.com> | 2019-11-18 13:23:52 +0100 |
---|---|---|
committer | Karol Lewandowski <k.lewandowsk@samsung.com> | 2019-12-05 11:06:23 +0000 |
commit | ccd673da51ae0fb2a65023c3a14e4a8b3423bad3 (patch) | |
tree | a795ee216690a9dfcb37c07536ef78dfa32da4c7 /man | |
parent | d28430bd978b79b691e3f5e066b59f0574595c42 (diff) | |
download | systemd-ccd673da51ae0fb2a65023c3a14e4a8b3423bad3.tar.gz systemd-ccd673da51ae0fb2a65023c3a14e4a8b3423bad3.tar.bz2 systemd-ccd673da51ae0fb2a65023c3a14e4a8b3423bad3.zip |
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.
(cherry picked from commit: 65c6b99094580afa186199d8091cd7536900526c)
Change-Id: I1531bb34818ef8daa3eb8a7c8e973ef9d4aa1ba1
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd-notify.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/man/systemd-notify.xml b/man/systemd-notify.xml index a5f4077166..4aba233dfa 100644 --- a/man/systemd-notify.xml +++ b/man/systemd-notify.xml @@ -107,6 +107,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 |