The chfn (change finger information) command is used to modify the information displayed by the finger command. Common options include "-f" to change the full name, "-o" to change the company name, "-p" to change the company phone number, and "-h" to change the home phone number. Generally, only the superuser (root) can execute this command.
The basic syntax of the chfn command is: chfn [options] [username]
Example (executed as root):# chfn -f "john smith" -h "1234" John ← Change the full name to "john smith" and the phone number to "1234" for the account "John" |