diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-26 16:18:36 +0000 |
commit | 6c3ea4f47ea280811a7fe53a22f7832e4533c9ec (patch) | |
tree | 3d7ed5da23b5dbf6f9e450dfb61642832249c31e /man/zh_CN/man8/chgpasswd.8 | |
parent | Adding upstream version 1:4.13+dfsg1. (diff) | |
download | shadow-6c3ea4f47ea280811a7fe53a22f7832e4533c9ec.tar.xz shadow-6c3ea4f47ea280811a7fe53a22f7832e4533c9ec.zip |
Adding upstream version 1:4.15.2.upstream/1%4.15.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'man/zh_CN/man8/chgpasswd.8')
-rw-r--r-- | man/zh_CN/man8/chgpasswd.8 | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/man/zh_CN/man8/chgpasswd.8 b/man/zh_CN/man8/chgpasswd.8 index c462a32..29228e1 100644 --- a/man/zh_CN/man8/chgpasswd.8 +++ b/man/zh_CN/man8/chgpasswd.8 @@ -2,12 +2,12 @@ .\" Title: chgpasswd .\" Author: Thomas K\(/loczko <kloczek@pld.org.pl> .\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/> -.\" Date: 2022-11-08 -.\" Manual: 系统管理命令 -.\" Source: shadow-utils 4.13 +.\" Date: 2024-06-21 +.\" Manual: System Management Commands +.\" Source: shadow-utils 4.15.2 .\" Language: Chinese Simplified .\" -.TH "CHGPASSWD" "8" "2022-11-08" "shadow\-utils 4\&.13" "系统管理命令" +.TH "CHGPASSWD" "8" "2024-06-21" "shadow\-utils 4\&.15\&.2" "System Management Commands" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -31,7 +31,7 @@ chgpasswd \- 批量更新组密码 .SH "大纲" .HP \w'\fBchgpasswd\fR\ 'u -\fBchgpasswd\fR [\fI选项\fR] +\fBchgpasswd\fR [\fIoptions\fR] .SH "描述" .PP The @@ -63,7 +63,12 @@ command are: .RS 4 使用指定的方法加密密码。 .sp -可用的方法有 DES, MD5, NONE, and SHA256 或 SHA512,前提是您的 libc 支持这写方法。 +The available methods are +\fIDES\fR, +\fIMD5\fR, \fISHA256\fR, \fISHA512\fR +and +\fINONE\fR +if your libc supports these methods\&. .RE .PP \fB\-e\fR, \fB\-\-encrypted\fR @@ -94,14 +99,13 @@ directory\&. Only absolute paths are supported\&. .RS 4 使用指定次数的轮转来加密密码。 .sp -值 0 表示让系统为加密方法选择默认的轮转次数 (5000)。 +You can only use this option with crypt method: +\fISHA256\fR \fISHA512\fR .sp -会强制最小 1,000,最大 9,9999,9999 -.sp -您只可以对 SHA256 或 SHA512 使用此选项。 -.sp -By default, the number of rounds is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in +By default, the number of rounds for SHA256 or SHA512 is defined by the SHA_CRYPT_MIN_ROUNDS and SHA_CRYPT_MAX_ROUNDS variables in /etc/login\&.defs\&. +.sp +A minimal value of 1000 and a maximal value of 999,999,999 will be enforced for SHA256 and SHA512\&. The default number of rounds is 5000\&. .RE .SH "CAVEATS" .PP |