diff options
Diffstat (limited to 'man/zh_CN/man8/newusers.8')
-rw-r--r-- | man/zh_CN/man8/newusers.8 | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/man/zh_CN/man8/newusers.8 b/man/zh_CN/man8/newusers.8 index 190defa6..28490fdb 100644 --- a/man/zh_CN/man8/newusers.8 +++ b/man/zh_CN/man8/newusers.8 @@ -2,12 +2,12 @@ .\" Title: newusers .\" Author: Julianne Frances Haugh .\" Generator: DocBook XSL Stylesheets v1.79.1 <http://docbook.sf.net/> -.\" Date: 2020-01-23 +.\" Date: 2021-07-22 .\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.8.1 +.\" Source: shadow-utils 4.9 .\" Language: Chinese Simplified .\" -.TH "NEWUSERS" "8" "2020-01-23" "shadow\-utils 4\&.8\&.1" "系统管理命令" +.TH "NEWUSERS" "8" "2021-07-22" "shadow\-utils 4\&.9" "系统管理命令" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -99,7 +99,9 @@ to be used as the primary group ID for the user and GID for the new group\&. .RS 4 此字段用于定义用户的主目录。 .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\&. Note that +\fInewusers does not create parent directories \fR +of the new user\*(Aqs 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 @@ -135,7 +137,7 @@ Allow names that do not conform to standards\&. .PP \fB\-h\fR, \fB\-\-help\fR .RS 4 -现实帮助信息并退出。 +显示帮助信息并退出。 .RE .PP \fB\-r\fR, \fB\-\-system\fR @@ -193,7 +195,9 @@ change the behavior of this tool: It can take one of these values: \fIDES\fR (default), -\fIMD5\fR, \fISHA256\fR, \fISHA512\fR\&. +\fIMD5\fR, \fISHA256\fR, \fISHA512\fR\&. MD5 and DES should not be used for new hashes, see +crypt(5) +for recommendations\&. .sp Note: this parameter overrides the \fBMD5_CRYPT_ENAB\fR @@ -263,7 +267,7 @@ This variable is deprecated\&. You should use .PP \fBPASS_MIN_DAYS\fR (number) .RS 4 -两次更改密码时间的最小间隔。将会拒绝任何早于此的更改密码的尝试。如果不指定,假定为 \-1,将会禁用这个限制。 +The minimum number of days allowed between password changes\&. Any password changes attempted sooner than this will be rejected\&. If not specified, 0 will be assumed (which disables the restriction)\&. .RE .PP \fBPASS_WARN_AGE\fR (number) @@ -282,7 +286,7 @@ or .sp 使用很多轮转,会让暴力破解更加困难。但是需要注意,认证用户时也会需要更多的 CPU 资源。 .sp -如果没有指定,libc 会选择默认的轮转数(5000)。 +If not specified, the libc will choose the default number of rounds (5000), which is orders of magnitude too low for modern hardware\&. .sp 值必须在 1000 \- 999,999,999 之间。 .sp |