From 7629889c86005017eb1a7f1f803c0d8e7a5bef08 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 19 Aug 2014 16:34:06 +0200 Subject: sysusers: add another column to sysusers files for the home directory --- man/sysusers.d.xml | 40 ++++++++++++++++++++++++++++++---------- 1 file changed, 30 insertions(+), 10 deletions(-) (limited to 'man/sysusers.d.xml') diff --git a/man/sysusers.d.xml b/man/sysusers.d.xml index 58f24a62f5..1832ecf0e6 100644 --- a/man/sysusers.d.xml +++ b/man/sysusers.d.xml @@ -77,13 +77,14 @@ configuration. The file format is one line per user or group - containing name, ID and GECOS field description: + containing name, ID, GECOS field description and home directory: # Type Name ID GECOS u httpd 440 "HTTP User" u authd /usr/bin/authd "Authorization user" g input - - -m authd input +m authd input +u root 0 "Superuser" /root Type @@ -103,11 +104,13 @@ m authd input bearing the same name. The user's shell will be set to /sbin/nologin, - the home directory to - /. The - account will be created - disabled, so that logins are - not allowed. + the home directory to the + specified home directory, or + / if none + is given. The account will be + created disabled, so that + logins are not + allowed. @@ -160,8 +163,8 @@ m authd input 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 + meanings. Specify - for + automatic UID/GID allocation for the user or group. Alternatively, specify an absolute path in the file system. In this case the UID/GID is read from the path's owner/group. This is @@ -183,7 +186,24 @@ m authd input Only applies to lines of type u and should otherwise be - left unset. + left unset, or be set to + -. + + + + Home Directory + + The home directory for a new system + user. If omitted defaults to the root + directory. It is recommended to not + unnecessarily specify home directories for + system users, unless software strictly + requires one to be set. + + Only applies to lines of type + u and should otherwise be + left unset, or be set to + -. -- cgit v1.2.3-54-g00ecf