Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!uunet!in1.uu.net!news1.digital.com!decwrl!purdue!news.bu.edu!mi From: mi@cs.bu.edu (Mikhail Teterin) Newsgroups: comp.unix.bsd.freebsd.misc Subject: /etc/services Date: 24 Aug 1995 04:07:37 GMT Organization: Computer Science Department, Boston University, Boston, MA, USA Lines: 19 Message-ID: <41gtu9$knu@news.bu.edu> NNTP-Posting-Host: csb.bu.edu X-Newsreader: TIN [version 1.2 PL2] If for any reason you wish to put the same service on more then one port you have to name it differently for every port, and then list that name in /etc/inet.conf, specifying the path to the executable, etc. I tried to put plain telnet on port 80 (as well as the original, 23), and it did not work until I renamed it to, say, banana, and explained in /etc/inetd.conf what banana is -- same as telnet. telnet stream .................... /usr/libexec/telnetd banana stream .................... /usr/libexec/telnetd Is that a bug or a feature? Why can not inetd accept same service for different ports? Or if that's a feature, why does not it complaint somewhere? -mi -- -- Why is that 2 o'clock all the time?! -- It is a manometer!!!