<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: script doesn't work using port 23 in inetd.conf in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581604#M89643</link>
    <description>For understanding &lt;BR /&gt;1) you have written a script witch should answer on Port 23 on host &lt;A&gt; &lt;BR /&gt;&lt;BR /&gt;2) in this script you want to telnet on port 23 to host &lt;B&gt; and wnt to telnet to host &lt;/B&gt;&lt;/A&gt;&lt;A&gt; &lt;BR /&gt;&lt;BR /&gt;3) Your telnetd should listen on port 5000 on host &lt;/A&gt;&lt;A&gt; &lt;BR /&gt;&lt;BR /&gt;so i whould enter in the inetd.conf on host &lt;/A&gt;&lt;A&gt; &lt;BR /&gt;----snip---- &lt;BR /&gt;# For my script because it runs on the telnet port 23 &lt;BR /&gt;telnet  stream  tcp     nowait  root    /usr/sbin/tcpd /root/foo.sh&lt;BR /&gt;# For the real telnetd to listen on port 5000&lt;BR /&gt;mytelnet  stream  tcp     nowait  root    /usr/sbin/tcpd in.telnetd&lt;BR /&gt;---snip----&lt;BR /&gt;at next you add following to your /etc/services &lt;BR /&gt;---snip---&lt;BR /&gt;# so you assine the nummber to a name &lt;BR /&gt;mytelnet   5000/tcp &lt;BR /&gt;---snip--- &lt;BR /&gt;no you should change the call of telnet to host &lt;/A&gt;&lt;A&gt; to telnet &lt;/A&gt;&lt;A&gt; mytelnet and you should get your normal telnet promt.&lt;BR /&gt;&lt;BR /&gt;hope this helps a bit &lt;BR /&gt;&lt;BR /&gt;- Patrick&lt;/A&gt;</description>
    <pubDate>Fri, 21 Sep 2001 08:45:50 GMT</pubDate>
    <dc:creator>Patrick Preuss</dc:creator>
    <dc:date>2001-09-21T08:45:50Z</dc:date>
    <item>
      <title>script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581597#M89636</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have written an expect script using service port number 5000, it works fine. &lt;BR /&gt;&lt;BR /&gt;The final goal of the script is to use port 23. After I changed the script's service port number to 23 and did a refresh of inetd. The telnet client will not be able to connect to the server, it just hang with a blank screen.&lt;BR /&gt;&lt;BR /&gt;Any pointer is appreciated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC</description>
      <pubDate>Wed, 19 Sep 2001 12:09:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581597#M89636</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2001-09-19T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581598#M89637</link>
      <description>Hi,&lt;BR /&gt;have you set the entrie in the inetd.conf in this way &lt;BR /&gt;telnet  stream  tcp     nowait /usr/sbin/tcpd  /path/to/my/script&lt;BR /&gt;so the tcp warper is used? &lt;BR /&gt;&lt;BR /&gt;have you set the screen size and the TERM type so that expect can determine it?&lt;BR /&gt;&lt;BR /&gt;best regards &lt;BR /&gt;Patrick&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2001 13:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581598#M89637</guid>
      <dc:creator>Patrick Preuss</dc:creator>
      <dc:date>2001-09-19T13:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581599#M89638</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The script had been tested using service port 5000 and worked fine.&lt;BR /&gt;&lt;BR /&gt;When I tried it using port 23, I actually inter-change port 5000 and 23. A freshed of inetd was also performed.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;YC</description>
      <pubDate>Thu, 20 Sep 2001 00:16:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581599#M89638</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2001-09-20T00:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581600#M89639</link>
      <description>Have you disabled telnetd on port 23? i'm useing an dump script on port 23 that does nothing and it works fine!-) &lt;BR /&gt;&lt;BR /&gt;hope it helps a bit</description>
      <pubDate>Thu, 20 Sep 2001 13:57:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581600#M89639</guid>
      <dc:creator>Patrick Preuss</dc:creator>
      <dc:date>2001-09-20T13:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581601#M89640</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Appreciate if your advice on how to disable telnetd.&lt;BR /&gt;&lt;BR /&gt;I thought the way I did will swop the telnetd port to 5000.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC</description>
      <pubDate>Fri, 21 Sep 2001 00:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581601#M89640</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2001-09-21T00:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581602#M89641</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Appreciate if you can advice on how to disable telnetd.&lt;BR /&gt;&lt;BR /&gt;I thought the way I did will swop the telnetd port to 5000.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC</description>
      <pubDate>Fri, 21 Sep 2001 00:00:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581602#M89641</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2001-09-21T00:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581603#M89642</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I've found out why the script doesn't work when I changed its port number to 23 and telnet port to 5000. This is because within my script, it telnet to another host. When the telnet port changed to 5000, then the telent within the script will not work.&lt;BR /&gt;&lt;BR /&gt;Is there a work around ?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;YC&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2001 08:12:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581603#M89642</guid>
      <dc:creator>yc_2</dc:creator>
      <dc:date>2001-09-21T08:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581604#M89643</link>
      <description>For understanding &lt;BR /&gt;1) you have written a script witch should answer on Port 23 on host &lt;A&gt; &lt;BR /&gt;&lt;BR /&gt;2) in this script you want to telnet on port 23 to host &lt;B&gt; and wnt to telnet to host &lt;/B&gt;&lt;/A&gt;&lt;A&gt; &lt;BR /&gt;&lt;BR /&gt;3) Your telnetd should listen on port 5000 on host &lt;/A&gt;&lt;A&gt; &lt;BR /&gt;&lt;BR /&gt;so i whould enter in the inetd.conf on host &lt;/A&gt;&lt;A&gt; &lt;BR /&gt;----snip---- &lt;BR /&gt;# For my script because it runs on the telnet port 23 &lt;BR /&gt;telnet  stream  tcp     nowait  root    /usr/sbin/tcpd /root/foo.sh&lt;BR /&gt;# For the real telnetd to listen on port 5000&lt;BR /&gt;mytelnet  stream  tcp     nowait  root    /usr/sbin/tcpd in.telnetd&lt;BR /&gt;---snip----&lt;BR /&gt;at next you add following to your /etc/services &lt;BR /&gt;---snip---&lt;BR /&gt;# so you assine the nummber to a name &lt;BR /&gt;mytelnet   5000/tcp &lt;BR /&gt;---snip--- &lt;BR /&gt;no you should change the call of telnet to host &lt;/A&gt;&lt;A&gt; to telnet &lt;/A&gt;&lt;A&gt; mytelnet and you should get your normal telnet promt.&lt;BR /&gt;&lt;BR /&gt;hope this helps a bit &lt;BR /&gt;&lt;BR /&gt;- Patrick&lt;/A&gt;</description>
      <pubDate>Fri, 21 Sep 2001 08:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581604#M89643</guid>
      <dc:creator>Patrick Preuss</dc:creator>
      <dc:date>2001-09-21T08:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: script doesn't work using port 23 in inetd.conf</title>
      <link>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581605#M89644</link>
      <description>Hi&lt;BR /&gt;Within the script use the port no along with telnet&lt;BR /&gt;&lt;BR /&gt;telnet host portno.&lt;BR /&gt;e.g.;&lt;BR /&gt;&lt;BR /&gt;telnet 153.11.199.32 23&lt;BR /&gt;&lt;BR /&gt;This should work ..&lt;BR /&gt;&lt;BR /&gt;Manoj&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Nov 2001 05:09:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/script-doesn-t-work-using-port-23-in-inetd-conf/m-p/2581605#M89644</guid>
      <dc:creator>Manoj Kumar Sarangi</dc:creator>
      <dc:date>2001-11-15T05:09:14Z</dc:date>
    </item>
  </channel>
</rss>

