summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-01-27 17:24:39 +0900
committerGitHub <noreply@github.com>2018-01-27 17:24:39 +0900
commit786b8fa0fb586bd0e69c076646430f7efb8ef237 (patch)
treeacaff68969e1d916c7ec986601a7d83dc81509a7 /man
parentdba081db312affb60be0a0b2a95433e832342334 (diff)
parent28e7fad73f823124577281d8dcebe8cb8f82acf3 (diff)
downloadsystemd-786b8fa0fb586bd0e69c076646430f7efb8ef237.tar.gz
Merge pull request #7973 from mvo5/sysusers-uid-gid
sysusers: allow uid:gid in sysusers.conf files
Diffstat (limited to 'man')
-rw-r--r--man/sysusers.d.xml5
1 files changed, 4 insertions, 1 deletions
diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml
index 38b749cf15..c0d8a1682a 100644
--- a/man/sysusers.d.xml
+++ b/man/sysusers.d.xml
@@ -191,7 +191,10 @@ u root 0 "Superuser" /root</programlisting>
in the file system. In this case, the UID/GID is read from the
path's owner/group. This is useful to create users whose UID/GID
match the owners of pre-existing files (such as SUID or SGID
- binaries).</para>
+ binaries).
+ The syntax <literal><replaceable>uid</replaceable>:<replaceable>gid</replaceable></literal> is also supported to
+ allow creating user and group pairs with different numeric UID and GID values. The group with the indicated GID must get created explicitly before or it must already exist.
+ </para>
<para>For <varname>m</varname> lines, this field should contain
the group name to add to a user to.</para>