[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: finger



  Hi,

On Thu, 10 Jul 1997, frydaxx wrote:

> i am searching to learn how to program a finger.

This is off-topic, and you could RTFM.

You could also download versions of cfingerd from Sunsite and look at the
source. I think there's a lot of them on Sunsite - I looked for them when
I wanted to write one.

IIRC, fingerd gets run from inetd, and reads the username (or
whatever) from stdin. Then you do what you want with it (getpwnam() and
send the info, read a file from the user's homedir, say "No such user",
etc).

			Bye,

				-Yaron.



References: