<?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: Control the telnet in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728028#M254173</link>
    <description>Sorry, I don't think this is possible....as this is a kernel parameter....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
    <pubDate>Thu, 09 Feb 2006 09:42:14 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2006-02-09T09:42:14Z</dc:date>
    <item>
      <title>Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728027#M254172</link>
      <description>In my system , all user login are via telnet , we have control that only allow max. 300 &lt;BR /&gt;telnet session in the system , now if I want to keep the max. no of telnet unchange (300) , &lt;BR /&gt;but three specific users ( eg. userA , userB ,userC ) not count into this 300 session , is &lt;BR /&gt;it possible ?&lt;BR /&gt;&lt;BR /&gt;for example ,  &lt;BR /&gt;&lt;BR /&gt;there are 300 user are in the system currently , if userA , userB &amp;amp; userC are also in the &lt;BR /&gt;system , the general user can still login until the no. of telnet reach to 303 ( as these &lt;BR /&gt;three users not count into the 300 , in short , the login of these specific users are &lt;BR /&gt;separate from general user , &lt;BR /&gt;&lt;BR /&gt;I really need help on that , but not sure whether I have mention about it , please let me  &lt;BR /&gt;if not clear , thx in advance.</description>
      <pubDate>Thu, 09 Feb 2006 09:37:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728027#M254172</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2006-02-09T09:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728028#M254173</link>
      <description>Sorry, I don't think this is possible....as this is a kernel parameter....&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Thu, 09 Feb 2006 09:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728028#M254173</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-09T09:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728029#M254174</link>
      <description>nah, I dont think that is possible. These are hard limit for the kernel structures.</description>
      <pubDate>Thu, 09 Feb 2006 09:44:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728029#M254174</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2006-02-09T09:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728030#M254175</link>
      <description>Controlling the number of telnet sessions? Not possible.&lt;BR /&gt;However, you looking to restrict users A,B and C on when they can login to the system based on the rule of number of users already logged in.&lt;BR /&gt;&lt;BR /&gt;Perhaps you can try 'Set Authorised Login Times' for these specific users. The flip side, the system has to be converted to a trusted system.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Sanjay</description>
      <pubDate>Thu, 09 Feb 2006 10:09:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728030#M254175</guid>
      <dc:creator>Sanjay Yugal Kishore Ha</dc:creator>
      <dc:date>2006-02-09T10:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728031#M254176</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;This is not a dynamic variable as far as i know, so, it cant be possible. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 09 Feb 2006 10:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728031#M254176</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-02-09T10:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728032#M254177</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I think, the easiest way is to do al little test in the .profile or .login script&lt;BR /&gt;&lt;BR /&gt;if [ `who | wc -l` -gt &amp;gt; 300 ]&lt;BR /&gt;then&lt;BR /&gt;   exit&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;Off course this must be customize to evaluate also userA, userB &amp;amp; userC</description>
      <pubDate>Thu, 09 Feb 2006 10:53:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728032#M254177</guid>
      <dc:creator>Luk Vandenbussche</dc:creator>
      <dc:date>2006-02-09T10:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728033#M254178</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;You can do this.&lt;BR /&gt;&lt;BR /&gt;Set the limit higher on the system in the kernel.&lt;BR /&gt;&lt;BR /&gt;Use /etc/profile to check the user count and reject users greater than 300 except for the users you wish to be invincible.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ucount=$(ps -ef | grep telnetd |wc -l)&lt;BR /&gt;# or use Bill Hassell's code.&lt;BR /&gt;# Now you have your count.&lt;BR /&gt;letlog=0&lt;BR /&gt;if [ $ucount -ge 300 ]&lt;BR /&gt;then&lt;BR /&gt;   if [ "$LOGNAME" == userA ]&lt;BR /&gt;   then&lt;BR /&gt;      letlog=0&lt;BR /&gt;   else&lt;BR /&gt;      letlog=1&lt;BR /&gt;   fi&lt;BR /&gt;fi&lt;BR /&gt;if [ $letlog -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;  echo "do nothing, letting special user log in"&lt;BR /&gt;else&lt;BR /&gt;  echo "Too many users, try again..."&lt;BR /&gt;  exit 1&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;All you need to do is change the if statement for userA into a list, perhaps a for loop to allow all good users.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 09 Feb 2006 10:57:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/control-the-telnet/m-p/3728033#M254178</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-02-09T10:57:53Z</dc:date>
    </item>
  </channel>
</rss>

