summaryrefslogtreecommitdiffstats
path: root/man/sysusers.d.xml
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@gmail.com>2018-03-02 12:56:44 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2018-03-02 12:56:44 +0100
commit1825c909ffc596af1d68a7c50e16a498a31c3f5b (patch)
tree0bd8c61889a397844c6e89a3716b2bd60d6f8bc3 /man/sysusers.d.xml
parentMerge pull request #8332 from poettering/logind-open-if-needed (diff)
downloadsystemd-1825c909ffc596af1d68a7c50e16a498a31c3f5b.tar.xz
systemd-1825c909ffc596af1d68a7c50e16a498a31c3f5b.zip
sysusers: support `u username -:300` style syntax (#8325)
This PR implements the first part of RFE #8046. I.e. this allows to write: ``` u username -:300 ``` Where the uid is chosen automatically but the gid is fixed.
Diffstat (limited to 'man/sysusers.d.xml')
-rw-r--r--man/sysusers.d.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml
index 47f018f402..1c87b1bdd1 100644
--- a/man/sysusers.d.xml
+++ b/man/sysusers.d.xml
@@ -194,7 +194,8 @@ u root 0 "Superuser" /root /bin/zsh</pro
match the owners of pre-existing files (such as SUID or SGID
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.
+ 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. Specifying <literal>-</literal> for the UID in this syntax
+ is also supported.
</para>
<para>For <varname>m</varname> lines, this field should contain