<?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: Telnet access list in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292545#M337016</link>
    <description>Hi Khashru,&lt;BR /&gt;&lt;BR /&gt;step 1:- enable telnet service in your server&lt;BR /&gt;&lt;BR /&gt;inetd.conf --&amp;gt; Edit the file reomve # for telnet services &lt;BR /&gt;Example :- &lt;BR /&gt;telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd -b /etc/issue&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;I want to disable telnet for all user except two users&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;step2:-  Edit /var/adm/inetd.sec --&amp;gt; security file&lt;BR /&gt;you can allow telnet specfic ip addres &lt;BR /&gt;&lt;BR /&gt;step 3:-&lt;BR /&gt;&lt;BR /&gt;inetd -c refresh your settings or to take effect&lt;BR /&gt;&lt;BR /&gt;Example :-&lt;BR /&gt;telnet  allow           10.99.2.* 10.99.12.*    10.99.11.* 10.99.0.*  10.99.50.* 10.98.5.44&lt;BR /&gt;&lt;BR /&gt;for more info please man inetd.sec&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards,&lt;BR /&gt;Johnson</description>
    <pubDate>Thu, 23 Oct 2008 00:37:32 GMT</pubDate>
    <dc:creator>Johnson Punniyalingam</dc:creator>
    <dc:date>2008-10-23T00:37:32Z</dc:date>
    <item>
      <title>Telnet access list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292544#M337015</link>
      <description>I want to disable telnet for all user except two users. I am using hp-ux 11.11. Can anyone please help. All other user will be using ssh.</description>
      <pubDate>Wed, 22 Oct 2008 22:22:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292544#M337015</guid>
      <dc:creator>Khashru</dc:creator>
      <dc:date>2008-10-22T22:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet access list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292545#M337016</link>
      <description>Hi Khashru,&lt;BR /&gt;&lt;BR /&gt;step 1:- enable telnet service in your server&lt;BR /&gt;&lt;BR /&gt;inetd.conf --&amp;gt; Edit the file reomve # for telnet services &lt;BR /&gt;Example :- &lt;BR /&gt;telnet       stream tcp nowait root /usr/lbin/telnetd  telnetd -b /etc/issue&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;I want to disable telnet for all user except two users&amp;gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;step2:-  Edit /var/adm/inetd.sec --&amp;gt; security file&lt;BR /&gt;you can allow telnet specfic ip addres &lt;BR /&gt;&lt;BR /&gt;step 3:-&lt;BR /&gt;&lt;BR /&gt;inetd -c refresh your settings or to take effect&lt;BR /&gt;&lt;BR /&gt;Example :-&lt;BR /&gt;telnet  allow           10.99.2.* 10.99.12.*    10.99.11.* 10.99.0.*  10.99.50.* 10.98.5.44&lt;BR /&gt;&lt;BR /&gt;for more info please man inetd.sec&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Best Regards,&lt;BR /&gt;Johnson</description>
      <pubDate>Thu, 23 Oct 2008 00:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292545#M337016</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-10-23T00:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet access list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292546#M337017</link>
      <description>Thanks for the reply. I can stop telnet from specific host or IP using inetd.sec but my requirenent is that i need to stop by uing user name.</description>
      <pubDate>Thu, 23 Oct 2008 00:44:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292546#M337017</guid>
      <dc:creator>Khashru</dc:creator>
      <dc:date>2008-10-23T00:44:05Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet access list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292547#M337018</link>
      <description>In a script pick up the process id and its parent id and if parent telnd then exit.&lt;BR /&gt;&lt;BR /&gt;Just an idea.&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;you CAN do this with tcp_wrappers.&lt;BR /&gt;&lt;BR /&gt;First - set up the hosts.deny as follows&lt;BR /&gt;&lt;BR /&gt;telnetd : ALL&lt;BR /&gt;&lt;BR /&gt;Then - set up the hosts.allow as follows&lt;BR /&gt;&lt;BR /&gt;telnetd : menu@ALL&lt;BR /&gt;&lt;BR /&gt;Of course this does nothing about FTP, rlogin, finger, etc. But you can tailor the files to cover those as well or use inetd.sec to limit those in addition. And you could limit the user  to a specific host or subnet&lt;BR /&gt;&lt;BR /&gt;telnetd : user@host1 &lt;BR /&gt;telnetd : user@128.1.1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Johnson</description>
      <pubDate>Thu, 23 Oct 2008 01:08:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292547#M337018</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2008-10-23T01:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Telnet access list</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292548#M337019</link>
      <description>&amp;gt; I want to disable telnet &lt;BR /&gt;What about rlogin and ssh? are they running as services?&lt;BR /&gt;&amp;gt; except two users&lt;BR /&gt;telnet is an IP based protocol which means it does not check the username when a connection is made. It relies on the login command to do the user authentication. So you have to do your restriction at the login level and not at telnet. You can put a test in /etc/profile (or /etc/login) and check the username and allow only those two users to continue login. &lt;BR /&gt;This will cover rlogin and remsh as well. SSH uses its own user authentication so you need to do something similar there.&lt;BR /&gt;Or delete all user accounts except those two users.</description>
      <pubDate>Thu, 23 Oct 2008 01:22:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-access-list/m-p/4292548#M337019</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-10-23T01:22:01Z</dc:date>
    </item>
  </channel>
</rss>

