From 65c6b99094580afa186199d8091cd7536900526c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 5 Jan 2018 13:26:38 +0100 Subject: 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. --- man/systemd-notify.xml | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'man/systemd-notify.xml') 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 @@ -122,6 +122,15 @@ sd_notify3. + + USER + + 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. + + -- cgit v1.2.1