Skip to Content
Linux in a Nutshell, 6th Edition
book

Linux in a Nutshell, 6th Edition

by Ellen Siever, Stephen Figgins, Robert Love, Arnold Robbins
September 2009
Beginner
942 pages
85h 34m
English
O'Reilly Media, Inc.
Content preview from Linux in a Nutshell, 6th Edition

Name

chfn

Synopsis

chfn [options] [username]

Change the information that is stored in /etc/passwd and displayed to the finger query. With no options, chfn enters interactive mode and prompts for changes. To blank a field, 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

-f name, --full-name name

Specify new full name.

-h homephone, --home-phone homephone

Specify new home phone number.

-o office, --office office

Specify new office number.

-p officephone, --office-phone officephone

Specify new office phone number.

-u, --help

Print help message and then exit.

-v, --version

Print version information and then exit.

Example

chfn -f "Ellen Siever" ellen
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Unix in a Nutshell, 4th Edition

Unix in a Nutshell, 4th Edition

Arnold Robbins
Linux Under the Hood

Linux Under the Hood

Sander van Vugt
Linux Kernel in a Nutshell

Linux Kernel in a Nutshell

Greg Kroah-Hartman

Publisher Resources

ISBN: 9780596806088Errata Page