]> git.ipfire.org Git - thirdparty/shadow.git/commitdiff
man/useradd.8.xml: fix the CREATE_HOME description
authorSerge Hallyn <serge@hallyn.com>
Thu, 24 Apr 2025 00:28:48 +0000 (19:28 -0500)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Mon, 28 Apr 2025 07:20:52 +0000 (09:20 +0200)
Fixes: #1249
Signed-off-by: Serge Hallyn <serge@hallyn.com>
man/useradd.8.xml

index eda1fefe519e08d90288b62d900c3b825f4fa7ef..b842c8c3ee4faeaae331591a50ad64151260a6f0 100644 (file)
            user's login directory. The default is to append the
            <replaceable>LOGIN</replaceable> name to
            <replaceable>BASE_DIR</replaceable> and use that as the
-           login directory name.  If the directory
-           <replaceable>HOME_DIR</replaceable> does not exist, then
-           it will be created unless the <option>-M</option> option
-           is specified.
+           login directory name.  
+           The directory <replaceable>HOME_DIR</replaceable> is not created by
+           default.  However it will be created for non-system users if either the
+           <option>-m</option> flag is specifed or
+           <replaceable>CREATE_HOME</replaceable> in
+           <filename>login.defs</filename> is set to true.  However, it will never
+           be created if the <option>-M</option> flag is specified.
          </para>
        </listitem>
       </varlistentry>