From: Lennart Poettering Date: Wed, 19 Oct 2016 21:40:31 +0000 (+0200) Subject: man: document default for User= X-Git-Tag: v234~938^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47da760efddc1fae8dac460430efd0ae7090c6c4;p=platform%2Fupstream%2Fsystemd.git man: document default for User= Replaces: #4375 --- diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 7453aa7..dbe4594 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -141,8 +141,13 @@ Group= Set the UNIX user or group that the processes are executed as, respectively. Takes a single - user or group name, or numeric ID as argument. If no group is set, the default group of the user is used. This - setting does not affect commands whose command line is prefixed with +. + user or group name, or numeric ID as argument. For system services (services run by the system service manager, + i.e. managed by PID 1) and for user services of the root user (services managed by root's instance of + systemd --user), the default is root, but User= may be + used to specify a different user. For user services of any other user, switching user identity is not + permitted, hence the only valid setting is the same user the user's service manager is running as. If no group + is set, the default group of the user is used. This setting does not affect commands whose command line is + prefixed with +.