<?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: how to set telnet user restriction? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039091#M906670</link>
    <description>Hi &lt;BR /&gt;&lt;BR /&gt;I succeed to restrict user connection through removing /dev/pty/tf (in case of 5 user).thanks.&lt;BR /&gt;&lt;BR /&gt;can you please let me know the script of /etc/profile for restriction telnet user connection?&lt;BR /&gt;&lt;BR /&gt;I cannot find  the number of user in the /etc/profile for this case.</description>
    <pubDate>Fri, 01 Aug 2003 03:27:38 GMT</pubDate>
    <dc:creator>Joon</dc:creator>
    <dc:date>2003-08-01T03:27:38Z</dc:date>
    <item>
      <title>how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039082#M906661</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I found telnet session restriction for a server in this forum .but in my case ,it is a little bit different from that.&lt;BR /&gt;&lt;BR /&gt;I want to know how to make telnet restriction for a server.&lt;BR /&gt;I mean that only 5 users can access a server and then the ohters cannot access the server through TELNET.&lt;BR /&gt;I tried to find out ,but fail to know that.&lt;BR /&gt;&lt;BR /&gt;Does anyone know how to set it up?&lt;BR /&gt;please.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 00:35:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039082#M906661</guid>
      <dc:creator>Joon</dc:creator>
      <dc:date>2003-08-01T00:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039083#M906662</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If you only want 5 users to access a server, then only setup 5 user accounts.&lt;BR /&gt;&lt;BR /&gt;Is this what you mean?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Fri, 01 Aug 2003 00:39:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039083#M906662</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-01T00:39:44Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039084#M906663</link>
      <description>You could always limit the number of pseudo tty's by only having a certain number of devices in the /dev/pts directory. Just move all but the number you need to another directory, and if need be move them back later.&lt;BR /&gt;You could also write a script that runs from /etc/profile which looks for the number of connected users and makes a judgement on whether the number is exceeded or not before allowing or terminating the session.&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 00:49:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039084#M906663</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-08-01T00:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039085#M906664</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As mentioned by Michael, you could restrict the number of device files, but that will still cause problems because anyone can login twice and prevent one of the allowed users from access. Obviously you have more than 5 users too.&lt;BR /&gt;&lt;BR /&gt;I think the best method would be to modify the /etc/profile and only allow the 5 users in and logoff anyone else.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 01:16:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039085#M906664</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-01T01:16:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039086#M906665</link>
      <description>Insert the following code to /etc/profile and see if it works:&lt;BR /&gt;&lt;BR /&gt;Cnt=`who -uH | cut -f1 -d' ' | wc -l`&lt;BR /&gt;echo "Current active sessions = ${Cnt}.";&lt;BR /&gt;sleep 1 &lt;BR /&gt;if [ "${Cnt}" -gt 5 ]&lt;BR /&gt;    then&lt;BR /&gt;        echo "nnWarning: Too many concurrent login!" &lt;BR /&gt;        exit&lt;BR /&gt;fi&lt;BR /&gt;unset Cnt&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 01:34:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039086#M906665</guid>
      <dc:creator>twang</dc:creator>
      <dc:date>2003-08-01T01:34:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039087#M906666</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have thought of another possibility.&lt;BR /&gt;&lt;BR /&gt;You could only allow telnet access based upon their ip address.  The only problem is if you have dhcp for their ip address :-(&lt;BR /&gt;&lt;BR /&gt;To set that up, look at /var/adm/inetd.sec file or refer to the inetd.sec man page.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Fri, 01 Aug 2003 01:39:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039087#M906666</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-01T01:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039088#M906667</link>
      <description>Hi all&lt;BR /&gt;&lt;BR /&gt;Thanks for your reply so far.&lt;BR /&gt;&lt;BR /&gt;but I don't want to know concurrent user restriction but Telnet user's connection restriction.&lt;BR /&gt;&lt;BR /&gt;My Customer want to know if there is any way to restrict telnet user connection.&lt;BR /&gt;Not special IP using inetd.sec or concurent user restriction.&lt;BR /&gt;&lt;BR /&gt;Only 5 user can connect a server through TELNET and the other users cannnot connect the server anymore after 5 user telnet connection.&lt;BR /&gt;&lt;BR /&gt;Hope to explain well.&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 01 Aug 2003 02:13:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039088#M906667</guid>
      <dc:creator>Joon</dc:creator>
      <dc:date>2003-08-01T02:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039089#M906668</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Hopefully I understand correctly.&lt;BR /&gt;&lt;BR /&gt;If you only want to allow a total of 5 users to be able to telnet to a server, then&lt;BR /&gt;&lt;BR /&gt;On HP-UX 11.0, remove the file /dev/pts/tf.  You don't have to remove any others.  &lt;BR /&gt;&lt;BR /&gt;That will only allow 5 telnet sessions for the server.&lt;BR /&gt;&lt;BR /&gt;I hope that is what you are wanting.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers!</description>
      <pubDate>Fri, 01 Aug 2003 02:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039089#M906668</guid>
      <dc:creator>Tim Adamson_1</dc:creator>
      <dc:date>2003-08-01T02:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039090#M906669</link>
      <description>man 4 security&lt;BR /&gt;&lt;BR /&gt;This was introduced through patch. This file resides (security)in /etc/default directory.&lt;BR /&gt;&lt;BR /&gt;This has option as NUMBER_OF_LOGINS_ALLOWED to the no of logins you want.&lt;BR /&gt;&lt;BR /&gt;Or as suggested by others you can put code.</description>
      <pubDate>Fri, 01 Aug 2003 02:50:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039090#M906669</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-08-01T02:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039091#M906670</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;I succeed to restrict user connection through removing /dev/pty/tf (in case of 5 user).thanks.&lt;BR /&gt;&lt;BR /&gt;can you please let me know the script of /etc/profile for restriction telnet user connection?&lt;BR /&gt;&lt;BR /&gt;I cannot find  the number of user in the /etc/profile for this case.</description>
      <pubDate>Fri, 01 Aug 2003 03:27:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039091#M906670</guid>
      <dc:creator>Joon</dc:creator>
      <dc:date>2003-08-01T03:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to set telnet user restriction?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039092#M906671</link>
      <description>If I understood it correctly...&lt;BR /&gt;&lt;BR /&gt;you can make entry in /var/adm/inetd.sec for&lt;BR /&gt;telnet allow i/p for your 5 user and for rest of the usrs you can deny it. For more referance refere man pages of inetd.sec&lt;BR /&gt;</description>
      <pubDate>Fri, 01 Aug 2003 10:42:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-set-telnet-user-restriction/m-p/3039092#M906671</guid>
      <dc:creator>yogesh_4</dc:creator>
      <dc:date>2003-08-01T10:42:02Z</dc:date>
    </item>
  </channel>
</rss>

