From 5f88f2cca7e5093768cf8d479f5e7115d587dab5 Mon Sep 17 00:00:00 2001 From: Markus Hiereth Date: Sun, 6 Mar 2022 18:37:39 -0600 Subject: [PATCH] update useradd homepage Signed-off-by: Serge Hallyn --- man/useradd.8.xml | 128 +++++++++++++++++++++++++++------------------- 1 file changed, 76 insertions(+), 52 deletions(-) diff --git a/man/useradd.8.xml b/man/useradd.8.xml index 68693aed..e2979b66 100644 --- a/man/useradd.8.xml +++ b/man/useradd.8.xml @@ -119,11 +119,11 @@ - The default base directory for the system if  HOME_DIR is not specified. - BASE_DIR is - concatenated with the account name to define the home directory. - If the option is not used, - BASE_DIR must exist. + The default base directory for the system if +  HOME_DIR + is not specified. BASE_DIR is + concatenated with the account name to define the home + directory. If this option is not specified, useradd @@ -141,7 +141,7 @@ Any text string. It is generally a short description of the - login, and is currently used as the field for the user's full + account, and is currently used as the field for the user's full name. @@ -153,14 +153,14 @@ The new user will be created using - HOME_DIR as the value for the user's - login directory. The default is to append the + HOME_DIR as the value for the + user's login directory. The default is to append the LOGIN name to - BASE_DIR and use that as the login - directory name. If the directory - HOME_DIR does not exist, then it - will be created unless the option is - specified. + BASE_DIR and use that as the + login directory name. If the directory + HOME_DIR does not exist, then + it will be created unless the option + is specified. @@ -197,10 +197,13 @@ - The number of days after a password expires until the account is - permanently disabled. A value of 0 disables the account as soon - as the password has expired, and a value of -1 disables the - feature. + defines the number of days after the password exceeded its maximum + age where the user is expected to replace this password. The value + is stored in the shadow password file. An input of 0 will disable an + expired password with no delay. An input of -1 will blank the + respective field in the shadow password file. See + shadow5 + for more information. If not specified, useradd will use the @@ -216,7 +219,7 @@ - The group name or number of the user's initial login group. The + The name or the number of the user's primary group. The group name must exist. A group number must refer to an already existing group. @@ -293,14 +296,17 @@ (, , , and others). - - Example:  PASS_MAX_DAYS=-1 - can be used when creating system account to turn off password - aging, even though system account has no password at all. - Multiple options can be specified, e.g.: -  UID_MIN=100  -  UID_MAX=499 + + Example: +  PASS_MAX_DAYS + =-1 can be used + when creating an account to turn off password aging. + Multiple options can be specified, + e.g.: +  UID_MIN + =100   + UID_MAX=499