2 .\" Copyright (C) 1998, 1999 Thorsten Kukuk
3 .\" This file is part of the yp-tools.
4 .\" Author: Thorsten Kukuk <kukuk@suse.de>
6 .\" This program is free software; you can redistribute it and/or modify
7 .\" it under the terms of the GNU General Public License as published by
8 .\" the Free Software Foundation; either version 2, or (at your option)
11 .\" This program is distributed in the hope that it will be useful,
12 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 .\" GNU General Public License for more details.
16 .\" You should have received a copy of the GNU General Public License
17 .\" along with this program; if not, write to the Free Software Foundation,
18 .\" Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
20 .TH yppasswd 1 "1998年5月" "YP Tools 2.4"
22 yppasswd, ypchfn, ypchsh \- 修改你在NIS数据库中的密码
24 .B "yppasswd [-f] [-l] [-p] [user]"
35 不能够用来修改用户的NIS密码,shell和GECOS信息,它们只能修改本机上的密码文件.
36 要修改NIS信息,可以使用它们的NIS对应命令
43 这些命令都是同一个程序,只是链接为不同的名字罢了.
73 参数调用时,正在调用命令的用户的账号信息将被更新,
76 的信息.该选项只对超级用户有用.如果服务器上的yppasswdd后台守护程序支持,你可以指定服务器的root密码来替换用户[老的]密码.
78 所有工具首先会提示用户当前NIS密码需要使用
80 后台守护程序认证.随后,程序提示以下更新信息:
83 .IP "\fByppasswd\fP或\fB-l\fP"
84 修改用户的NIS密码.提示用户输入新的密码.
85 当输入密码时,响应是关闭的,这样密码不会显示在屏幕上.拒绝空的密码,这是因为密码短于6个字符.用户然后会要求重新输入密码以确证第一次没有拼错.
88 .IP "\fBypchsh\fP or \fB-l\fP"
89 修改用户的登录shell.提示用户输入新的shell,老的shell作为默认值:
94 Login shell [/bin/sh]: _
101 文件中的shell字段(这样会选定系统的默认shell),
106 .IP "\fBypchfn\fP or \fB-f\fP"
107 修改用户的全名和相关信息.按照惯例,一些应用程序需求
109 文件的GECOS字段(字段4)包含用户的真名(与登录名相对应)和一些如办公室电话号码之类的附加信息.这些信息通过
121 Location [2nd floor, bldg 34]:
122 Office Phone [12345]:
128 要接受默认值,只需按回车.要清除一个字段,则输入
146 包的一部分,由Thorsten Kukuk <kukuk@suse.de>写成.
152 .B riser <boomer@ccidnet.com>
155 .SH "《中国linux论坛man手册页翻译计划》:"
156 .BI http://cmpp.linuxforum.net