<?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 sessions in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257392#M11623</link>
    <description>very thanks,  it is OK after restart the service , I missed the previous message from Alex .</description>
    <pubDate>Mon, 26 Apr 2004 02:03:36 GMT</pubDate>
    <dc:creator>peterchu</dc:creator>
    <dc:date>2004-04-26T02:03:36Z</dc:date>
    <item>
      <title>Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257385#M11616</link>
      <description>We have a RH Linux , and the users use telnet to access the system , how to control the no. of telnet to the system ? thx.</description>
      <pubDate>Fri, 23 Apr 2004 04:08:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257385#M11616</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-04-23T04:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257386#M11617</link>
      <description>add a line&lt;BR /&gt;instance = 3&lt;BR /&gt;to a file /etc/xinetd.d/telnet to limit the telnet to allow 3 simultanious connections.&lt;BR /&gt;service xinetd restart mut be executed after changes in /etc/xinetd.d/telnet file</description>
      <pubDate>Fri, 23 Apr 2004 04:19:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257386#M11617</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-04-23T04:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257387#M11618</link>
      <description>That will control the total number of telnet instances, not per user.&lt;BR /&gt;&lt;BR /&gt;On a per-user basis, you'd best either use one of the funky scripts provided in various other threads on the same subject, or use pam to do the limiting in '/etc/pam.d/login':&lt;BR /&gt;&lt;BR /&gt;session required /lib/security/pam_limits.so&lt;BR /&gt;&lt;BR /&gt;And in '/etc/security/limits.conf' have an entry similar to:&lt;BR /&gt;&lt;BR /&gt;* - maxlogins 3&lt;BR /&gt;&lt;BR /&gt;To limit all users (except 'root' (or other UID 0 users)) to 3 simultaneous logins per user.</description>
      <pubDate>Sun, 25 Apr 2004 18:19:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257387#M11618</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-04-25T18:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257388#M11619</link>
      <description>Excellent solutions Stuart.&lt;BR /&gt;&lt;BR /&gt;I would add the following advice:&lt;BR /&gt;&lt;BR /&gt;Drop telnet.&lt;BR /&gt;&lt;BR /&gt;User authentication is happening in clear text. Even the root users password is easily sniffed by ethereal or a program that a user can bring in on a diskette or keychain drive.&lt;BR /&gt;&lt;BR /&gt;Linux ships with openssh which includes ssh a telnet replacement with secure authentication.&lt;BR /&gt;&lt;BR /&gt;A free windows version is at &lt;A href="http://www.networksimplcity.com" target="_blank"&gt;http://www.networksimplcity.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sun, 25 Apr 2004 18:58:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257388#M11619</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-04-25T18:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257389#M11620</link>
      <description>And the pam solution is portable to SSH too ;P  Just use '/etc/pam.d/sshd' :)</description>
      <pubDate>Sun, 25 Apr 2004 19:50:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257389#M11620</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-04-25T19:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257390#M11621</link>
      <description>thx replied , I treid to modify the file "/etc/xinetd.d/telnet" &lt;BR /&gt;&lt;BR /&gt;the file as below now :&lt;BR /&gt;# default: on&lt;BR /&gt;# description: The telnet server serves telnet sessions; it uses \&lt;BR /&gt;#       unencrypted username/password pairs for authentication.&lt;BR /&gt;service telnet&lt;BR /&gt;{&lt;BR /&gt;        disable = no&lt;BR /&gt;        flags           = REUSE&lt;BR /&gt;        socket_type     = stream&lt;BR /&gt;        wait            = no&lt;BR /&gt;        user            = root&lt;BR /&gt;        server          = /usr/sbin/in.telnetd&lt;BR /&gt;        log_on_failure  += USERID&lt;BR /&gt;        instances       = 200&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;but the user telnet still can over 200 , could suggest what is wrong ? &lt;BR /&gt;</description>
      <pubDate>Sun, 25 Apr 2004 20:42:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257390#M11621</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-04-25T20:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257391#M11622</link>
      <description>Did you re-start (or re-load) 'xinetd' after modifying '/etc/xinetd.d/telnet' ?&lt;BR /&gt;&lt;BR /&gt;The command 'service xinetd reload' should be sufficient.&lt;BR /&gt;&lt;BR /&gt;Setting it to 200 should mean that you can have 200 actively-used telnet sessions at any given moment.&lt;BR /&gt;&lt;BR /&gt;My small-scale test (instances = 5) works, forcibly dropping any excess session attempts.</description>
      <pubDate>Sun, 25 Apr 2004 21:04:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257391#M11622</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2004-04-25T21:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Control the telnet sessions</title>
      <link>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257392#M11623</link>
      <description>very thanks,  it is OK after restart the service , I missed the previous message from Alex .</description>
      <pubDate>Mon, 26 Apr 2004 02:03:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/control-the-telnet-sessions/m-p/3257392#M11623</guid>
      <dc:creator>peterchu</dc:creator>
      <dc:date>2004-04-26T02:03:36Z</dc:date>
    </item>
  </channel>
</rss>

