From a12b0cc34d80a2d13c87d1f57059339cfc780912 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Jul 2014 19:54:46 +0200 Subject: sysusers: add new line type "m" to add users as members to groups --- man/sysusers.d.xml | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) (limited to 'man/sysusers.d.xml') diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml index af31ec078d..549b3f6351 100644 --- a/man/sysusers.d.xml +++ b/man/sysusers.d.xml @@ -86,7 +86,8 @@ # Type Name ID GECOS u httpd 440 "HTTP User" u authd /usr/bin/authd "Authorization user" -g input - - +g input - - +m authd input Type @@ -125,6 +126,15 @@ g input - - created with no password set. + + + m + Add a user to + a group. If the user or group + are not existing yet, they + will be implicitly + created. + @@ -141,13 +151,18 @@ g input - - scheme to guarantee this is by prefixing all system and group names with the underscore, and avoiding too generic names. + + For m lines this + field should contain the user name to add to a + group. ID - The numeric 32bit UID or GID of the - user/group. Do not use IDs 65535 or + For u and + g the numeric 32bit UID or + GID of the user/group. Do not use IDs 65535 or 4294967295, as they have special placeholder meanings. Specify "-" for automatic UID/GID allocation for the user or @@ -157,6 +172,10 @@ g input - - useful to create users whose UID/GID match the owners of pre-existing files (such as SUID or SGID binaries). + + For m lines this + field should contain the group name to add to + a user to. @@ -165,6 +184,10 @@ g input - - A short, descriptive string for users to be created, enclosed in quotation marks. Note that this field may not contain colons. + + Only applies to lines of type + u and should otherwise be + left unset. -- cgit v1.2.3-54-g00ecf