Linux Command Directory
This directory of Linux commands is from Linux in a Nutshell, 5th Edition.
Click on any of the 687 commands below to get a description and list of available options. All links in the command summaries point to the online version of the book on Safari Bookshelf.
Buy it now, or read it online on Safari Bookshelf.
chfn
chfn [options] [username]
Change the information that is stored in /etc/passwd and displayed to the finger query. Without options, chfn enters interactive mode and prompts for changes. To make a field blank, enter the keyword none. Only a privileged user can change information for another user. For regular users, chfn prompts for the user's password before making the change.
Options
Specify new full name.
Specify new home phone number.
Specify new office number.
Specify new office phone number.
Print help message and then exit.
Print version information and then exit.
Example
chfn -f "Ellen Siever" ellen




