|
|
9f90df |
diff -up shadow-4.1.5.1/man/man8/useradd.8.manfix shadow-4.1.5.1/man/man8/useradd.8
|
|
|
9f90df |
--- shadow-4.1.5.1/man/man8/useradd.8.manfix 2013-07-25 10:39:00.000000000 +0200
|
|
|
9f90df |
+++ shadow-4.1.5.1/man/man8/useradd.8 2013-10-18 16:29:41.003281715 +0200
|
|
|
9f90df |
@@ -85,7 +85,7 @@ by default\&.
|
|
|
9f90df |
Any text string\&. It is generally a short description of the login, and is currently used as the field for the user\*(Aqs full name\&.
|
|
|
9f90df |
.RE
|
|
|
9f90df |
.PP
|
|
|
9f90df |
-\fB\-d\fR, \fB\-\-home\fR \fIHOME_DIR\fR
|
|
|
9f90df |
+\fB\-d\fR, \fB\-\-home\-dir\fR \fIHOME_DIR\fR
|
|
|
9f90df |
.RS 4
|
|
|
9f90df |
The new user will be created using
|
|
|
9f90df |
\fIHOME_DIR\fR
|
|
|
9f90df |
@@ -220,9 +220,13 @@ option) will be copied to the home direc
|
|
|
9f90df |
By default, if this option is not specified and
|
|
|
9f90df |
\fBCREATE_HOME\fR
|
|
|
9f90df |
is not enabled, no home directories are created\&.
|
|
|
9f90df |
+.sp
|
|
|
9f90df |
+The directory where the user\*(Aqs home directory is created must
|
|
|
9f90df |
+exist and have proper SELinux context and permissions\&. Otherwise
|
|
|
9f90df |
+the user\*(Aqs home directory cannot be created or accessed\&.
|
|
|
9f90df |
.RE
|
|
|
9f90df |
.PP
|
|
|
9f90df |
-\fB\-M\fR
|
|
|
9f90df |
+\fB\-M\fR, \fB\-\-no\-create\-home\fR
|
|
|
9f90df |
.RS 4
|
|
|
9f90df |
Do not create the user\*(Aqs home directory, even if the system wide setting from
|
|
|
9f90df |
/etc/login\&.defs
|
|
|
9f90df |
diff -up shadow-4.1.5.1/man/useradd.8.xml.manfix shadow-4.1.5.1/man/useradd.8.xml
|
|
|
9f90df |
--- shadow-4.1.5.1/man/useradd.8.xml.manfix 2013-07-25 10:39:00.115637664 +0200
|
|
|
9f90df |
+++ shadow-4.1.5.1/man/useradd.8.xml 2013-10-18 16:22:13.151437562 +0200
|
|
|
9f90df |
@@ -161,7 +161,7 @@
|
|
|
9f90df |
</varlistentry>
|
|
|
9f90df |
<varlistentry>
|
|
|
9f90df |
<term>
|
|
|
9f90df |
- <option>-d</option>, <option>--home</option>
|
|
|
9f90df |
+ <option>-d</option>, <option>--home-dir</option>
|
|
|
9f90df |
<replaceable>HOME_DIR</replaceable>
|
|
|
9f90df |
</term>
|
|
|
9f90df |
<listitem>
|
|
|
9f90df |
@@ -358,11 +358,16 @@
|
|
|
9f90df |
<option>CREATE_HOME</option> is not enabled, no home
|
|
|
9f90df |
directories are created.
|
|
|
9f90df |
</para>
|
|
|
9f90df |
+ <para>
|
|
|
9f90df |
+ The directory where the user's home directory is created must
|
|
|
9f90df |
+ exist and have proper SELinux context and permissions. Otherwise
|
|
|
9f90df |
+ the user's home directory cannot be created or accessed.
|
|
|
9f90df |
+ </para>
|
|
|
9f90df |
</listitem>
|
|
|
9f90df |
</varlistentry>
|
|
|
9f90df |
<varlistentry>
|
|
|
9f90df |
<term>
|
|
|
9f90df |
- <option>-M</option>
|
|
|
9f90df |
+ <option>-M</option>, <option>--no-create-home</option>
|
|
|
9f90df |
</term>
|
|
|
9f90df |
<listitem>
|
|
|
9f90df |
<para>
|