O'Reilly logo

Linux® Desk Reference, Second Edition by Scott Hawkins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Commands

chfn

[ -f full-name ][ -o office ][ -p office-phone ] [ -h home-phone ] [ -u ] [ -v ] [ username ]

This command is used to change the information displayed when someone fingers you. If no information is entered on the command line, chfn will prompt you interactively for each field.

Example: To change your name as stored on the system, use

chnf -n “John Q. Public”

Example: To change your home phone as stored on the system, use

chfn -h 1234567890

-f, --full-name Enter your real name.
-o, --office Enter office or room number.
-p, --office-phone Enter office phone number.
-h, --home-phone Enter home phone number.
-u, --help Display help information and exit.
-v, --version Display version information and exit.

chpasswd

[-e]

This command ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required