Imported upstream version 1.5
[manpages-zh.git] / raw / man1 / chfn.1
blob8f3213d429b8d6bc80c5de6df9f8bcfa0c6f4425
1 .\"
2 .\"  chfn.1 -- change your finger information
3 .\"  (c) 1994 by salvatore valente <svalente@athena.mit.edu>
4 .\"
5 .\"  this program is free software.  you can redistribute it and
6 .\"  modify it under the terms of the gnu general public license.
7 .\"  there is no warranty.
8 .\"
9 .TH CHFN 1 "October 13 1994" "chfn" "Linux Reference Manual"
10 .SH NAME
11 chfn \- change your finger information
12 .SH SYNOPSIS
13 .B chfn
14 [\ \-f\ full-name\ ] [\ \-o\ office\ ] [\ \-p\ office-phone\ ]
15 [\ \-h\ home-phone\ ] [\ \-u\ ] [\ \-v\ ] [\ username\ ]
16 .SH DESCRIPTION
17 .B chfn
18 is used to change your finger information.  This information is
19 stored in the
20 .I /etc/passwd
21 file, and is displayed by the
22 .B finger
23 program.  The Linux
24 .B finger
25 command will display four pieces of information that can be changed by
26 .B chfn
27 : your real name, your work room and phone, and your home phone.
28 .SS COMMAND LINE
29 Any of the four pieces of information can be specified on the command
30 line.  If no information is given on the command line,
31 .B chfn
32 enters interactive mode.
33 .SS INTERACTIVE MODE
34 In interactive mode,
35 .B chfn
36 will prompt for each field.  At a prompt, you can enter the new information,
37 or just press return to leave the field unchanged.  Enter the keyword
38 "none" to make the field blank.
39 .SH OPTIONS
40 .TP
41 .I "\-f, \-\-full-name"
42 Specify your real name.
43 .TP
44 .I "\-o, \-\-office"
45 Specify your office room number.
46 .TP
47 .I "\-p, \-\-office-phone"
48 Specify your office phone number.
49 .TP
50 .I "\-h, \-\-home-phone"
51 Specify your home phone number.
52 .TP
53 .I "\-u, \-\-help"
54 Print a usage message and exit.
55 .TP
56 .I "-v, \-\-version"
57 Print version information and exit.
58 .SH "SEE ALSO"
59 .BR finger (1),
60 .BR passwd (5)
61 .SH AUTHOR
62 Salvatore Valente <svalente@mit.edu>