Say you want a telnetd daemon listening on port 2323.
1) in /etc/services add these 2 lines:[tt]
tenlet 2323/tcp
tenlet 2323/udp[/tt]
2) in /etc/inetd.conf add these line:[tt]
tenlet stream tcp nowait NOLUID /etc/telnetd telnetd[/tt]
3) tell inetd to reread the configuration files:[tt]
kill -1 `ps -e | awk '$NF=="inetd"{print $1}'`[/tt]
Hope This Help, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.