From 8530dc4467691a893aa2e07319b18a84fec96cad Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 19 Aug 2014 19:05:11 +0200 Subject: tmpfiles: add new 'r' line type to add UIDs/GIDs to the pool to allocate UIDs/GIDs from This way we can guarantee a limited amount of compatibility with login.defs, by generate an appopriate "r" line out of it, on package installation. --- man/sysusers.d.xml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'man') diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml index 1832ecf0e6..18c71db63e 100644 --- a/man/sysusers.d.xml +++ b/man/sysusers.d.xml @@ -134,6 +134,25 @@ u root 0 "Superuser" /root will be implicitly created. + + + r + Add a range of + numeric UIDs/GIDs to the pool + to allocate new UIDs and GIDs + from. If no line of this type + is specified the range of + UIDs/GIDs is set to some + compiled-in default. Note that + both UIDs and GIDs are + allocated from the same pool, + in order to ensure that users + and groups of the same name + are likely to carry the same + numeric UID and + GID. + + @@ -154,6 +173,10 @@ u root 0 "Superuser" /root For m lines this field should contain the user name to add to a group. + + For lines of type r + this field should be set to + -. @@ -175,6 +198,14 @@ u root 0 "Superuser" /root For m lines this field should contain the group name to add to a user to. + + For lines of type r + this field should be set to a UID/GID range in + the format FROM-TO where + both values are formatted as decimal ASCII + numbers. Alternatively, a single UID/GID may + be specified formatted as decimal ASCII + numbers. -- cgit v1.2.3-54-g00ecf