X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=man%2Fsysusers.d.xml;h=ac2db98853a367e2926c7593e80920b263901f6f;hb=e45fc5e738b0b7700e8b4f3c4b25c58a49b44b27;hp=1832ecf0e6e4cfc2ffe4190c05d65cdf377fabde;hpb=7629889c86005017eb1a7f1f803c0d8e7a5bef08;p=elogind.git diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml index 1832ecf0e..ac2db9885 100644 --- a/man/sysusers.d.xml +++ b/man/sysusers.d.xml @@ -19,7 +19,8 @@ You should have received a copy of the GNU Lesser General Public License along with systemd; If not, see . --> - + sysusers.d @@ -134,6 +135,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 +174,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 +199,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. @@ -208,8 +240,10 @@ u root 0 "Superuser" /root + + - Overriding vendor configuration + Idempotence Note that systemd-sysusers will do nothing if the specified users or groups @@ -217,31 +251,13 @@ u root 0 "Superuser" /root sysusers.d vendor configuration, except to block certain users or groups from being created. - - Files in /etc/sysusers.d - override files with the same name in - /usr/lib/sysusers.d and - /run/sysusers.d. Files in - /run/sysusers.d override files - with the same name in - /usr/lib/sysusers.d. The scheme is the same as for - tmpfiles.d5, - except for the directory name. - - If the administrator wants to disable a - configuration file supplied by the vendor, the - recommended way is to place a symlink to - /dev/null in - /etc/sysusers.d/ bearing the - same filename. See Also systemd1, - systemd-sysusers8, - tmpfiles.d5 + systemd-sysusers8