diff options
Diffstat (limited to 'man/zh_CN/man1/chfn.1')
-rw-r--r-- | man/zh_CN/man1/chfn.1 | 161 |
1 files changed, 0 insertions, 161 deletions
diff --git a/man/zh_CN/man1/chfn.1 b/man/zh_CN/man1/chfn.1 deleted file mode 100644 index b25ede53..00000000 --- a/man/zh_CN/man1/chfn.1 +++ /dev/null @@ -1,161 +0,0 @@ -'\" t -.\" Title: chfn -.\" Author: Julianne Frances Haugh -.\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/> -.\" Date: 2012-05-25 -.\" Manual: 用户命令 -.\" Source: shadow-utils 4.1.5.1 -.\" Language: Chinese Simplified -.\" -.TH "CHFN" "1" "2012-05-25" "shadow\-utils 4\&.1\&.5\&.1" "用户命令" -.\" ----------------------------------------------------------------- -.\" * Define some portability stuff -.\" ----------------------------------------------------------------- -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.\" http://bugs.debian.org/507673 -.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html -.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -.ie \n(.g .ds Aq \(aq -.el .ds Aq ' -.\" ----------------------------------------------------------------- -.\" * set default formatting -.\" ----------------------------------------------------------------- -.\" disable hyphenation -.nh -.\" disable justification (adjust text to left margin only) -.ad l -.\" ----------------------------------------------------------------- -.\" * MAIN CONTENT STARTS HERE * -.\" ----------------------------------------------------------------- -.SH "名称" -chfn \- 更改真名和信息 -.SH "大纲" -.HP \w'\fBchfn\fR\ 'u -\fBchfn\fR [\fI选项\fR] [\fI登录\fR] -.SH "描述" -.PP -The -\fBchfn\fR -command changes user fullname, office room number, office phone number, and home phone number information for a user\*(Aqs account\&. This information is typically printed by -\fBfinger\fR(1) -and similar programs\&. A normal user may only change the fields for her own account, subject to the restrictions in -/etc/login\&.defs\&. (The default configuration is to prevent users from changing their fullname\&.) The superuser may change any field for any account\&. Additionally, only the superuser may use the -\fB\-o\fR -option to change the undefined portions of the GECOS field\&. -.PP -These fields must not contain any colons\&. Except for the -\fIother\fR -field, they should not contain any comma or equal sign\&. It is also recommended to avoid non\-US\-ASCII characters, but this is only enforced for the phone numbers\&. The -\fIother\fR -field is used to store accounting information used by other applications\&. -.SH "选项" -.PP -\fBchfn\fR -命令可以接受的选项有: -.PP -\fB\-f\fR, \fB\-\-full\-name\fR\fIFULL_NAME\fR -.RS 4 -更改用户的全名 -.RE -.PP -\fB\-h\fR, \fB\-\-home\-phone\fR\fIHOME_PHONE\fR -.RS 4 -Change the user\*(Aqs home phone number\&. -.RE -.PP -\fB\-o\fR, \fB\-\-other\fR\fIOTHER\fR -.RS 4 -Change the user\*(Aqs other GECOS information\&. This field is used to store accounting information used by other applications, and can be changed only by a superuser\&. -.RE -.PP -\fB\-r\fR, \fB\-\-room\fR\fIROOM_NUMBER\fR -.RS 4 -Change the user\*(Aqs room number\&. -.RE -.PP -\fB\-R\fR, \fB\-\-root\fR\fICHROOT_DIR\fR -.RS 4 -Apply changes in the -\fICHROOT_DIR\fR -directory and use the configuration files from the -\fICHROOT_DIR\fR -directory\&. -.RE -.PP -\fB\-u\fR, \fB\-\-help\fR -.RS 4 -现实帮助信息并退出。 -.RE -.PP -\fB\-w\fR, \fB\-\-work\-phone\fR\fIWORK_PHONE\fR -.RS 4 -Change the user\*(Aqs office phone number\&. -.RE -.PP -If none of the options are selected, -\fBchfn\fR -operates in an interactive fashion, prompting the user with the current values for all of the fields\&. Enter the new value to change the field, or leave the line blank to use the current value\&. The current value is displayed between a pair of -\fB[ ]\fR -marks\&. Without options, -\fBchfn\fR -prompts for the current user account\&. -.SH "配置文件" -.PP -在 -/etc/login\&.defs -中有如下配置变量,可以用来更改此工具的行为: -.PP -\fBCHFN_AUTH\fR (boolean) -.RS 4 -如果为 -\fIyes\fR,\fBchfn\fR -进行任何更改前都要要求认证,除非由超级用户运行。 -.RE -.PP -\fBCHFN_RESTRICT\fR (string) -.RS 4 -This parameter specifies which values in the -\fIgecos\fR -field of the -/etc/passwd -file may be changed by regular users using the -\fBchfn\fR -program\&. It can be any combination of letters -\fIf\fR, -\fIr\fR, -\fIw\fR, -\fIh\fR, for Full name, Room number, Work phone, and Home phone, respectively\&. For backward compatibility, -\fIyes\fR -is equivalent to -\fIrwh\fR -and -\fIno\fR -is equivalent to -\fIfrwh\fR\&. If not specified, only the superuser can make any changes\&. The most restrictive setting is better achieved by not installing -\fBchfn\fR -SUID\&. -.RE -.PP -\fBLOGIN_STRING\fR (string) -.RS 4 -此字符串用于提示输入密码。默认是 "Password: ",或者翻译了的结果(汉语中翻译为了\(lq密码:\(rq)。如果设置了此变量,提示不会被翻译。 -.sp -如果字符串包含 -\fI%s\fR,将会被用户名替换。 -.RE -.SH "文件" -.PP -/etc/login\&.defs -.RS 4 -Shadow 密码套件配置。 -.RE -.PP -/etc/passwd -.RS 4 -用户账户信息。 -.RE -.SH "参见" -.PP -\fBchsh\fR(1), -\fBlogin.defs\fR(5), -\fBpasswd\fR(5)\&. |