To add a service to
inetd.conf you add your line to
inetd.conf and then a line to
/etc/services to associate tour service name with a TCP/IP port number,
/etc/rc.local does not come into the equation, unless you want to start a
daemon to run as soon as the machine boots up like you might want to for sshd.
e.g. inetd.conf entry:
Code:
finger stream tcp nowait/3/10 nobody /usr/libexec/fingerd fingerd -s