chfn.1

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1 代码 · 共 93 行

1
93
字号
.\" SCCSID: @(#)chfn.1	6.1	4/27/89.TH chfn 1.SH Namechfn \- change system finger entry.SH Syntax.B chfn[.I loginname].SH Description.NX R "chfn command".NX A "chfn command" "finger command".NX R "system" "changing user information"The.PN chfncommandis used to change information about users.  This information is usedby the.MS finger 1program, among others.  It consists of the user's real name, office roomnumber, office phone number, and home phone number. The.PN chfncommand prompts the user for each field.  Included in the prompt is adefault value, which is enclosed between brackets.  The default value isaccepted simply by typing <CR>.  To enter a blank field, type the word`none'.  This is an example:.if n .ig ++.EX% \f(CBchfn\fPChanging finger information for doeName [John Doe]:Office number [ABC-1/K0]: \f(CBDEF-2/K1\fPOffice Phone []: \f(CB1863\fPHome Phone [5771546]: \f(CBnone\fP.EE.++.if t .ig ++.EX% \fIchfn\fPChanging finger information for doeName [John Doe]:Office number [ABC-1/K0]: \fIDEF-2/K1\fPOffice Phone []: \fI1863\fPHome Phone [5771546]: \fInone\fP.EE.++.PPThe.PN chfncommand allows phone numbers to be entered with or without hyphens.  Noentries may contain colons, commas, or control characters..PPIt is a good idea to run.PN fingerafter running.PN chfnto make sure everything is the way you want it..PPThe optional argument.I loginnameis used to change another person's finger information.  This can onlybe done by the superuser..SH Restrictions.NX R "chfn command" "restricted"The encoding of the office and extension information is installationdependent..PPBecause two users may try to write the.PN passwdfile at once, a synchronization method was developed.  On rareoccasions, a message that the password file is "busy" will be printed.In this case,.PN chfnsleeps for a while and then tries to write to the.PN passwdfile again..PPIf the passwd entry is distributed from another host.PN chfnwill not modify it..NX R "passwd file (general)" "user name and".\# .PP.\# The .\# .PN chfn.\# command must be supplied with a user.SH Files.TP.PN /etc/passwd.TP.PN /etc/ptmp.SH See Alsochsh(1), finger(1), passwd(1), passwd(5yp)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?