The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com




Thread: finger command
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 07-04-2009
TonyFullerMalv's Avatar
TonyFullerMalv TonyFullerMalv is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 748
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

/etc/services entry:

Code:
finger		79/tcp

HTH