33 lines
2.3 KiB
Diff
33 lines
2.3 KiB
Diff
diff -up shadow-4.1.4.2/man/newusers.8.infoParentDir shadow-4.1.4.2/man/newusers.8
|
|
--- shadow-4.1.4.2/man/newusers.8.infoParentDir 2010-04-28 13:44:04.634870854 +0200
|
|
+++ shadow-4.1.4.2/man/newusers.8 2010-04-28 13:46:07.190866220 +0200
|
|
@@ -88,7 +88,7 @@ This field is copied in the GECOS field
|
|
.RS 4
|
|
This field is used to define the home directory of the user\&.
|
|
.sp
|
|
-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\&.
|
|
+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\&.
|
|
.sp
|
|
If the home directory of an existing user is changed,
|
|
\fBnewusers\fR
|
|
diff -up shadow-4.1.4.2/man/newusers.8.xml.infoParentDir shadow-4.1.4.2/man/newusers.8.xml
|
|
--- shadow-4.1.4.2/man/newusers.8.xml.infoParentDir 2010-04-28 13:48:01.419238133 +0200
|
|
+++ shadow-4.1.4.2/man/newusers.8.xml 2010-04-28 13:55:40.499663030 +0200
|
|
@@ -192,7 +192,15 @@
|
|
<para>
|
|
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.
|
|
+ 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.
|
|
</para>
|
|
<para>
|
|
If the home directory of an existing user is changed,
|