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 πŸ«ΆπŸ’œ