OS Manuals

/usr/bin/chfn

PAM login and passwd utilities

From shadow 4.20.3-r3 (os), captured 2026-11-05 by running chfn --help (exit 0). permalink

Usage: chfn [options] [LOGIN]

Options:
  -f, --full-name FULL_NAME     change user's full name
  -h, --home-phone HOME_PHONE   change user's home phone number
  -o, --other OTHER_INFO        change user's other GECOS information
  -r, --room ROOM_NUMBER        change user's room number
  -R, --root CHROOT_DIR         directory to chroot into
  -u, --help                    display this help message and exit
  -w, --work-phone WORK_PHONE   change user's office phone number
Options (7)
OptionDescriptionSource
-f, --full-name FULL_NAMEchange user's full namehelp
-h, --home-phone HOME_PHONEchange user's home phone numberhelp
-o, --other OTHER_INFOchange user's other GECOS informationhelp
-r, --room ROOM_NUMBERchange user's room numberhelp
-R, --root CHROOT_DIRdirectory to chroot intohelp
-u, --helpdisplay this help message and exithelp
-w, --work-phone WORK_PHONEchange user's office phone numberhelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.