Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chsh(1)

finger(1)

passwd(1)

passwd(5yp)

chfn(1)

Name

chfn − change system finger entry

Syntax

chfn [ loginname ]

Description

The chfn command is used to change information about users.  This information is used by the finger() program, among others.  It consists of the user’s real name, office room number, office phone number, and home phone number. The chfn command prompts the user for each field.  Included in the prompt is a default value, which is enclosed between brackets.  To accept the default value, press Return. To enter a blank field, type the word ‘none’.  This is an example:

% chfn
Changing finger information for doe
Name [John Doe]:
Office number [ABC-1/K0]: DEF-2/K1
Office Phone []: 1863
Home Phone [5771546]: none

The chfn command allows phone numbers to be entered with or without hyphens.  No entries may contain colons, commas, or control characters.

It is a good idea to run finger after running chfn to make sure everything is the way you want it.

The optional argument loginname is used to change another person’s finger information.  This can only be done by the superuser. 

Restrictions

The encoding of the office and extension information is installation dependent. 

Because two users may try to write the passwd file at once, a synchronization method was developed.  On rare occasions, a message that the password file is "busy" will be printed. In this case, chfn sleeps for a while and then tries to write to the passwd file again.

Files

/etc/passwd

/etc/ptmp

See Also

chsh(1), finger(1), passwd(1), passwd(5yp)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026