|
|
9f90df |
diff -up shadow-4.1.5.1/man/man8/newusers.8.info-parent-dir shadow-4.1.5.1/man/man8/newusers.8
|
|
|
9f90df |
--- shadow-4.1.5.1/man/man8/newusers.8.info-parent-dir 2012-05-25 13:59:09.000000000 +0200
|
|
|
9f90df |
+++ shadow-4.1.5.1/man/man8/newusers.8 2012-09-19 18:47:17.203525237 +0200
|
|
|
9f90df |
@@ -99,7 +99,7 @@ This field is copied in the GECOS field
|
|
|
9f90df |
.RS 4
|
|
|
9f90df |
This field is used to define the home directory of the user\&.
|
|
|
9f90df |
.sp
|
|
|
9f90df |
-If this field does not specify an existing directory, the specified directory is created, with ownership set to the user being created or updated and its primary group\&.
|
|
|
9f90df |
+If this field does not specify an existing directory, the specified directory is created, with ownership set to the user being created or updated and its primary group\&. Note that newusers does not create parent directories of the new user's home directory. The newusers command will fail to create the home directory if the parent directories do not exist, and will send a message to stderr informing the user of the failure. The newusers command will not halt or return a failure to the calling shell if it fails to create the home directory, it will continue to process the batch of new users specified\&.
|
|
|
9f90df |
.sp
|
|
|
9f90df |
If the home directory of an existing user is changed,
|
|
|
9f90df |
\fBnewusers\fR
|
|
|
9f90df |
diff -up shadow-4.1.5.1/man/newusers.8.xml.info-parent-dir shadow-4.1.5.1/man/newusers.8.xml
|
|
|
9f90df |
--- shadow-4.1.5.1/man/newusers.8.xml.info-parent-dir 2012-05-25 13:45:28.000000000 +0200
|
|
|
9f90df |
+++ shadow-4.1.5.1/man/newusers.8.xml 2012-09-19 18:46:35.651613365 +0200
|
|
|
9f90df |
@@ -216,7 +216,15 @@
|
|
|
9f90df |
<para>
|
|
|
9f90df |
If this field does not specify an existing directory, the
|
|
|
9f90df |
specified directory is created, with ownership set to the
|
|
|
9f90df |
- user being created or updated and its primary group.
|
|
|
9f90df |
+ user being created or updated and its primary group. Note
|
|
|
9f90df |
+ that newusers does not create parent directories of the new
|
|
|
9f90df |
+ user's home directory. The newusers command will fail to
|
|
|
9f90df |
+ create the home directory if the parent directories do not
|
|
|
9f90df |
+ exist, and will send a message to stderr informing the user
|
|
|
9f90df |
+ of the failure. The newusers command will not halt or return
|
|
|
9f90df |
+ a failure to the calling shell if it fails to create the home
|
|
|
9f90df |
+ directory, it will continue to process the batch of new users
|
|
|
9f90df |
+ specified.
|
|
|
9f90df |
</para>
|
|
|
9f90df |
<para>
|
|
|
9f90df |
If the home directory of an existing user is changed,
|