lchfn(1)
π lchfn(1) β the manual page, but make it cute
okay bestie, so this is lchfn β the little command that lets you change finger information. yes that's really what it's called, we don't make the rules π and no, before you ask, it has nothing to do with what you're thinking.
β¨ NAME β¨
lchfn β Change finger information π«Ά
π SYNOPSIS π
lchfn [OPTION]... [user]
π¦ DESCRIPTION π¦
So here's the vibe: lchfn shows you the info about a user that the finger(1) command can pull up β and then lets you change it. That info is usually chillin' in the "gecos" field of /etc/passwd. yes, gecos. iconic name, no notes. π
If you don't hand over a user argument, it just uses the username of whoever's running the command. easy. but heads up bestie β if lchfn is run set-uid to a different user, the user argument gets completely ignored. not "maybe", not "sort of". ignored. periodt. π
Now, the prompt etiquette, and this is the part where people get got:
- Hitting Enter and giving an empty string at a prompt? That means "yeah yeah, accept the default value." lowkey the laziest option and honestly valid. π
- Wanna erase an attribute β or genuinely use an empty string as the attribute value? Then you type a single dot character. that's it. just
.that's the whole secret. iykyk. β¨
πΈ OPTIONS πΈ
-i,--interactiveβ asks you all the questions when it's connecting to the user database, even if default answers are already set up in the libuser configuration. so basically, no skipping ahead, we're doing the full questionnaire bestie π
π EXIT STATUS π
The exit status is 0 on success and 1 on error. that's the whole thing. no in-between, no drama (for once). π
π SEE ALSO π
finger(1)β the vibe-checker for user info
ngl bestie, if you forget the dot trick you'll be stuck in a prompt loop wondering why your gecos field won't clear. write it on your hand. . π
libuser Β· Sep 20 2004 β yeah this page is older than most of us, but she's still serving and we respect her for it πβ¨ mwah, go change some finger info, love u bye π«Άπ
π¦ where this page comes from
- alpine 3.24: libuser-doc 0.64-r2 Β· LGPL-2.0-or-later
- centos-stream 10: libuser 0.64-12.el10 Β· LGPL-2.0-or-later
- centos-stream 9: libuser 0.63-17.el9 Β· LGPLv2+
- centos-stream 9: libuser 0.63-17.el9 Β· LGPLv2+
- debian bookworm: libuser 1:0.64~dfsg-1 Β· LGPL-2.0-or-later
- debian trixie: libuser 1:0.64+git20241106~dfsg-3 Β· LGPL-2.0-or-later
- fedora 43: libuser 0.64-16.fc43 Β· LGPL-2.0-or-later
- fedora 43: libuser 0.64-16.fc43 Β· LGPL-2.0-or-later
- fedora 44: libuser 0.64-17.fc44 Β· LGPL-2.0-or-later
- fedora 44: libuser 0.64-17.fc44 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- opensuse-leap 16.0: libuser 0.64-bp160.1.1 Β· LGPL-2.0-or-later
- ubuntu jammy: libuser 1:0.63~dfsg-4build1 Β· LGPL-2.0-or-later
- ubuntu noble: libuser 1:0.64~dfsg-2build2 Β· LGPL-2.0-or-later
- ubuntu questing: libuser 1:0.64+git20241106~dfsg-3
- ubuntu resolute: libuser 1:0.64+git20241106~dfsg-4build1 Β· LGPL-2.0-or-later
- ubuntu stonking: libuser 1:0.64+git20241106~dfsg-4build1 Β· LGPL-2.0-or-later
- Copyright (C) 2004 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms