CFINGERD(8)
CFINGERD π β the Configurable Finger Daemon
okay bestie, sit down, hydrate, because we're about to talk about cfingerd, section 8 of the manual, and she is iconic. this is the configurable finger daemon and she has SO much to say.
β¨ NAME β¨
cfingerd β Configurable finger daemon. that's it, that's the name, she's serving exactly what it says on the tin π
πΈ SYNOPSIS πΈ
cfingerd [ -c | -e | -o | -v ]
-c : Check configuration
-e : Emulate local finger w/o inetd
-o : Turn off all finger queries
-v : Request version information
so real talk, here's what each of those little letters is doing:
-cchecks your installed configuration. this makes sure there are no existing errors in the currentcfingerd.conffile. it's the vibe check for your config, fr fr π-eallows you to emulate a local finger on a user that exists on your system. this lets you testcfingerdon your system before installing it. using the"-e"directive is the same as installing the software, typing"finger username@"and getting the output. using"-e username"does the same. basically it's a dress rehearsal, no cap π-oturns off all finger queries. this makes it so that no one can finger your system β no matter what they try to do. and listen, this one is different from the rest: unlike the other options, this option is used ininetd.conf, not on the command line. she's not like other girls π-vrequestscfingerdversion information. say hi, get a version number, slay β¨
π¦ DESCRIPTION π¦
CFINGERD is a totally new, and totally configurable finger daemon β one of the first. she listens on the finger port (port 79) to provide useful information about each user that is on your system according to the finger protocol as described in RFC 1288. only thing is, cfingerd provides a unique twist π
CFINGERD was designed for the sole purpose of making output on finger queries configurable. if you want to change any text that is displayed during finger queries, you can configure the finger daemon to display just about anything you want. literally anything. the power is yours, bestie π
CFINGERD also takes into account any security breaches, and attempts to close them. with the added bonus of creating ".nofinger" files, this is displayed instead of finger information, making it possible for users to keep themselves relatively anonymous from outside users. and for a maximum of users privacy you should place an exact copy of /etc/cfingerd/nouser_banner.txt in your .nofinger file. stealth mode activated π΅οΈβοΈ
π WHY WAS IT DONE? π
the answer is simple. Security. many sites turn off finger for the reason that they don't want outside users to see who's on their system, or get information about a specific user on their system. this seemed unfair to the rest of the users out there, so this program was created. besides, those sites were waiting for this type of program. many sites that originally had their finger turned off turned them back on because of cfingerd. we love a comeback story π«Ά
many sites have complained that they wanted the ability to create a "fake-user", or a user that doesn't exist but calls a pre-written shell script. CFINGERD has taken this into account, and provides the best method possible for creating such scripts. (see cfingerd.conf(5) for more information on the configuration file.) she heard the complaints and she delivered, periodt π
π FEATURES CFINGERD PROVIDES, AND DESCRIPTIONS OF EACH π
CFINGERD was totally rewritten. why is this? well, the older version of cfingerd had quite a few bugs, and it didn't quite do all of the things that cfingerd now does. this new version was totally revamped, and most of the bugs that were in the older version of cfingerd were removed in this one. besides, the code in here was more compact. glow up of the century, honestly β¨
header and footer displays were a very big part of the original release of cfingerd, and shall continue to remain in all versions. headers and footers are only displays at the beginning and ending of all finger displays, and are used as unique little "advertisements" or such. cute little bookends π
last time displayed is always a critical issue. it's covered in cfingerd. Cfingerd simply shows how many times this user is connected, what their idle time is on each TTY they're connected to, and whether or not they are accepting messages. if they're not accepting messages, a "[MESG-N]" display will be shown if this is the case. this display also shows the last time mail was read, and whether or not this user has mail. if this is still too much for your taste, each of these items can be disabled system wide. your feed, your rules π±
stand-alone and INETD support is compiled into the program, but only INETD support is given for the time being. the reason being is that I have not yet added the code for stand-alone daemon mode. it's giving "coming soon" π
.nofinger files are used when a user wishes to remain anonymous. these files should be placed in their home directories, and can display anything they want. there's just a few restrictions. these .nofinger display files cannot be character devices, directories, fifos, soft or hard links, or anything else of that caliber. they must only be normal files. strict but fair π
fakeusers were supported for the simple fact that many sites want to create users that don't exist, and make them execute a shell. if you want this done, then install a fake user. read up in cfingerd.conf(5) for more information on these useful options. imaginary friends but make them shell scripts π§
service listings were used to show what fakeusers you have installed on your system. these can be formatted however you wish, and are explained (once again) in cfingerd.conf(5).
searching for usernames is a very powerful feature that cfingerd takes full advantage of. if you are looking for a specific username on the system, or don't know what their name is, simply use the search.pattern directive with cfingerd will search for all users containing pattern in their real name or username on that system. it's giving detective energy π
searching for usernames is NOT case sensitive. you may search for a specific username or real name, for part of the username or real ame, or for a pattern matching the entire username or the entire real ame. if you search for part of a user's name, chances are, it'll be displayed.
warning searching will currently return the names of daemon users and users
and you will be able to search for a user on your system.
security is a given. if you don't want to show someone something, then it won't display what you don't want. simply edit the cfingerd.conf file and make changes. it's that simple. no notes π
searching for usernames is NOT case sensitive. if you are searching for a specific username, or part of the user's name. if you search for part of a user's name or username, chances are, it'll be displayed.
not just PLAN, or PROJECT but there's also an option to display your public PGP key, if you have one. this is very useful if you want to keep your mail or other information secret to yourself, and don't want "big brother" watching over your shoulder as you talk amongst yourselves. (thanks to Andy Smith for this patch). (for your info, the standard plan file is .plan, project is .project, PGP info is .pgpkey, and XFace icon information is .xface) π
remember, any or all of these options stated above, can be turned on or off at will. if you want a specific option turned off, turn it off. :) your daemon, your choices π
π FULL LIST OF BUILTIN USER NAMES π
cfingerd provides a set of builtin fake users. two of them are also used internally by cfingerd. here's the whole roster, bestie:
@β list logged on users without.nofingerfile. if thesystem_list_sitesoption is used in the main configuration filecfingerdwill try to gather information from all listed hosts.userlist@β same as@, except that it only lists people who are idle no longer than one day. this is intended to give a better overview of who's really online at the moment of fingering.userlist-only@β list logged on users without.nofingerfile β without headers and footers. this fake user is used internally to gather system information from remote hosts for@.userlist-online@β list logged on users without.nofingerfile β without headers and footers. only users will be listed who are idle no longer than a day. this fake user is used internally to gather system information from remote hosts foruserlist@.version@β display version information forcfingerd.services@β list all fake users.search.pattern@β search for users using the GCOS field in/etc/passwd. only users will be displayed who don't have a.nofinger-file.help@β help text listing all of these.
these can be disabled in cfingerd.conf(5) as follows:
@anduserlist@β setSYSTEM_LISTtoFALSE.userlist-only@anduserlist-online@β disableALLOW_USERLIST_ONLY(i.e. prefix it with a minus sign) or disableSYSTEM_LIST.version@β disableALLOW_CONFESSION(i.e. prefix it with a minus sign).services@β disableALLOW_FAKEUSER_FINGER(i.e. prefix it with a minus sign).search.pattern@β disableALLOW_SEARCHABLE_FINGER(i.e. prefix it with a minus sign).help@β disableALLOW_CONFESSION(i.e. prefix it with a minus sign).
π ERROR MESSAGES π
any error messages that result are fairly easy to debug if you know what to look for. don't panic, we got this π«Ά
segmentation violations don't always occur, but if they ever do, you can pretty easily figure out what's going on. unfortunately, cfingerd doesn't have any compatibility with older cfingerd.conf files, so if you get a segmentation violation, this (usually) means that your cfingerd.conf file needs to be replaced. not a drill. π
timeouts usually mean that a script has timed out, or a connection to another site timed out. she's just taking a lil nap π΄
β SYSLOGGING MESSAGES β
well, there's no real way to describe SYSLOG messages since they can be changed as the system administrator chooses. although, examples can be given based on the standard configuration that was distributed. here's the tea β
- if any IP addresses cannot be matched to a name it will display a
"IP: Hostname not matched". - if the
renicefails (to make the program run at the highest priority) then it will display"Fatal - Nice died: (reason)". - if there is no buffer information waiting in the STDIN buffer, it will display
"STDIN contains no data". - if a trusted host fingers your site, a
"<- Trusted"will appear. - if a rejected host fingers your site, a
"<- Rejected"will appear. - if
rootis fingered on your site, it will display"Root". - if a service listing was fingered on your site, it will display
"Service listing". - if a user listing was requested, it will display
"User listing". - if a fake user was requested, it will display
"Fake user". - if
"whois"data was requested, it will display"Whois request". (note,whoiswas not implemented in this release, since it wasn't'RFC'compliant.) - any extra information pertaining to the incoming finger is displayed in the syslogging area. (it's also recommended that you reconfigure
syslog.conf(5)to display to an unused VT. :)
π PLANS π
any other options or improvements will probably come from user suggestions. :) speak up, besties, she's listening π
later plans will make it so that you can define your own display formats for the finger display. this means that you can re-define how you want your finger display to look. custom aesthetics incoming, we're obsessed πΈ
π CONTACTING π
okay bestie, so if you're vibing with this software and you wanna know more more more about it β or you're sitting there like "omg this would be SO much better with this one feature" β then please slide into the dev's DMs, fr fr. π
Reach out at:
cfingerd@infodrom.north.de
And the project's webpage lives right here:
Like, that's it. That's the whole thing. Go say hi. They wanna hear from you. π«Άβ¨
π SEE ALSO π
the required reading, the syllabus, the iykyk extended universe π go peek at these when you're done here:
cfingerd.conf(5)cfingerd.text(5)finger(1)userlist(1)syslog.conf(5)
and that's a wrap, bestie π this was cfingerd version 1.4.2, dated 18 Dec 1998 β iconic, vintage, a whole era, no cap. go forth and finger responsibly. ππ¦πΈ
π¦ where this page comes from
- debian bookworm: cfingerd 1.4.3-7
- debian trixie: cfingerd 1.4.3-8
- ubuntu jammy: cfingerd 1.4.3-5ubuntu1
- ubuntu noble: cfingerd 1.4.3-5ubuntu1
- ubuntu questing: cfingerd 1.4.3-8ubuntu1
- ubuntu resolute: cfingerd 1.4.3-8ubuntu2
- ubuntu stonking: cfingerd 1.4.3-8ubuntu2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms