diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-01-05 13:26:38 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-01-11 15:12:16 +0100 |
commit | 65c6b99094580afa186199d8091cd7536900526c (patch) | |
tree | 15abca5dcb67a9cd01a06bef29205cf318def7bf /man/systemd-notify.xml | |
parent | sd-dameon: also sent ucred when our UID differs from EUID (diff) | |
download | systemd-65c6b99094580afa186199d8091cd7536900526c.tar.xz systemd-65c6b99094580afa186199d8091cd7536900526c.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.
Diffstat (limited to 'man/systemd-notify.xml')
-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 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 |