Initial commit for Tizen
[profile/extras/shadow-utils.git] / man / zh_CN / chpasswd.8
1 .\" Copyright 1991, Julianne Frances Haugh
2 .\" All rights reserved.
3 .\"; 中文版版权所有 soloman, Laser www.linuxforum.net 2000
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Julianne F. Haugh nor the names of its contributors
14 .\"    may be used to endorse or promote products derived from this software
15 .\"    without specific prior written permission.
16 .\"
17 .\" THIS SOFTWARE IS PROVIDED BY JULIE HAUGH AND CONTRIBUTORS ``AS IS'' AND
18 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED.  IN NO EVENT SHALL JULIE HAUGH OR CONTRIBUTORS BE LIABLE
21 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 .\" SUCH DAMAGE.
28 .\"
29 .\"     $Id: chpasswd.8 1342 2007-11-10 23:46:11Z nekral-guest $
30 .\"
31 .TH CHPASSWD 8
32 .SH NAME 名字
33 chpasswd \- 成批更新用户的口令
34 .SH 总览
35 chpasswd [\-e]
36 .SH 描述
37 .B chpasswd
38 从系统的标准输入读入用户的名称和口令,
39 并利用这些信息来更新系统上已存在的用户的口令。
40 在没有用 \-e 这个开关选项的情况下,口令将按明文的形式接收。
41 如果使用了 \-e 选项,口令将只能以加密的方式传递。
42 每行的具体格式如下所示:
43 .sp 1
44                 \fI用户名\fR:\fI新口令\fR
45 .sp 1
46 用户名必须是系统上已存在的用户。
47 输入的密码在必要时进行加密处理,
48 如果口令文件具有时间特性,则同时更新。
49 .PP
50 此命令适用于大型的系统,在此类系统中,
51 用户一般都是一次同时生成的,而用 adduser 和
52 passwd 口令来对其一一进行设置一般说往往比较慢。
53 .SH 注意事项
54 .\" The \fBmkpasswd\fR command must be executed afterwards to update the
55 .\" DBM password files.
56 .\" This command may be discarded in favor of the newusers(8) command.
57 因为可以使用文件重定向进行输入,
58 即:chpasswd < user&passwd\-filename, 
59 如果输入文件是按非加密方式传递的话,请对该文件进行适当的加密。
60 .SH 又见
61 passwd(1),useradd(8),newuser(8)
62 .SH 作者
63 Julianne Frances Haugh (jfh@bga.com)
64 .SH "[中文版维护人]"
65 .B 所罗门 <solomen@email.com.cn>
66 .SH "[中文版最新更新]"
67 2000/11/26
68
69 .SH "[中国 Linux 论坛 man 手册页翻译计划]"
70 .TP
71 .BI http://www.cmpp.net/
72