<?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 Login Session in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953452#M4296</link>
    <description>There is limit of control the max. no. of login , how to increase the limit of the no. of login ( or how to change the no. of TTY that allow ? ) thx&lt;BR /&gt;</description>
    <pubDate>Thu, 17 Apr 2003 03:09:31 GMT</pubDate>
    <dc:creator>juno2</dc:creator>
    <dc:date>2003-04-17T03:09:31Z</dc:date>
    <item>
      <title>Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953452#M4296</link>
      <description>There is limit of control the max. no. of login , how to increase the limit of the no. of login ( or how to change the no. of TTY that allow ? ) thx&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 03:09:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953452#M4296</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-17T03:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953453#M4297</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;Check the files in /etc/security directory, namely access.conf and limits.conf.&lt;BR /&gt;&lt;BR /&gt;As for the number of available PTY-s, it's hard-coded in the kernel.&lt;BR /&gt;&lt;BR /&gt;CONFIG_UNIX98_PTY_COUNT=256&lt;BR /&gt;&lt;BR /&gt;So change it in kernel config and recompile your kernel.&lt;BR /&gt;&lt;BR /&gt;G.</description>
      <pubDate>Thu, 17 Apr 2003 04:39:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953453#M4297</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-17T04:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953454#M4298</link>
      <description>hi Goran Koruga ,&lt;BR /&gt;&lt;BR /&gt;I can't find the statement "CONFIG_UNIX98_PTY_COUNT" in the files you said, is there other method to change the setting? thx.</description>
      <pubDate>Thu, 17 Apr 2003 05:12:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953454#M4298</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-17T05:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953455#M4299</link>
      <description>Depending on which version of Linux you are using depends on how it is currently configured.&lt;BR /&gt;&lt;BR /&gt;Out of the box, a RedHat system (v7+) is not limited (that I'm aware of) to the number of simultaneous logins.&lt;BR /&gt;&lt;BR /&gt;This could however be achieved with an entry in /etc/security/limits.conf (if 'pam_limits.so' is used in the any of the login procedures).&lt;BR /&gt;&lt;BR /&gt;As for psuedo tty's, assuming it's using /dev/pts/ style of tty's (default on anything over 2.2.16 or some such kernel), they will be dynamically created when required (the kernel defaulting at a maximum of 256 logins, RH ups this to 512).&lt;BR /&gt;&lt;BR /&gt;If you need to up this value, you'll need to re-compile your kernel, tweaking the CONFIG_UNIX98_PTY_COUNT value (up to a maximum of 2048).&lt;BR /&gt;&lt;BR /&gt;Viewing /proc/tty/drivers (the pty_slave value) will show how many are configured, and are in use on the system (see kernel Documentation/filesystems/proc.txt for more details).&lt;BR /&gt;&lt;BR /&gt;If this doesn't answer your question, please be more specific as to your needs.</description>
      <pubDate>Thu, 17 Apr 2003 05:15:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953455#M4299</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-04-17T05:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953456#M4300</link>
      <description>If i just want to change the limit of telnet , is it change the file /etc/xinetd.d/telnet ? is it require to re-comile the kernel ? thx.</description>
      <pubDate>Thu, 17 Apr 2003 05:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953456#M4300</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-17T05:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953457#M4301</link>
      <description>The only thing you can change in /etc/xinetd.d/telnet is the value of 'instances'.  If the value is missing, it means there is no limit.&lt;BR /&gt;&lt;BR /&gt;What does the contents of /proc/tty/drivers say?</description>
      <pubDate>Thu, 17 Apr 2003 05:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953457#M4301</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2003-04-17T05:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953458#M4302</link>
      <description>is it require to re-comile the kernel ? thx.</description>
      <pubDate>Thu, 17 Apr 2003 05:54:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953458#M4302</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-17T05:54:46Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953459#M4303</link>
      <description>After update /etc/xinetd.d/telnet , is it require to re-compile the kernel ? thx.</description>
      <pubDate>Thu, 17 Apr 2003 06:01:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953459#M4303</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-17T06:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953460#M4304</link>
      <description>Try to enable the pam_limits module inside /etc/pam.d/login. Add the following to the end of the file:&lt;BR /&gt;" session required /lib/security/pam_limits.so "&lt;BR /&gt;&lt;BR /&gt;Then locate limits.conf file under the /etc/security directory and change "maxlogins" options in the default policy.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Apr 2003 06:04:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953460#M4304</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-04-17T06:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953461#M4305</link>
      <description>Ahh of course, I forgot about the xinetd part ;).&lt;BR /&gt;&lt;BR /&gt;The CONFIG_... line is in part of the kernel config file. You only need to increase it if you really want to use more than 256 PTY-s.&lt;BR /&gt;&lt;BR /&gt;G.</description>
      <pubDate>Thu, 17 Apr 2003 06:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953461#M4305</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-17T06:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953462#M4306</link>
      <description>Hi all reply, but i only want to limit the telnet , is it require to re-compile the kernel after update /etc/xinetd.d/telnet ? thx</description>
      <pubDate>Thu, 17 Apr 2003 06:26:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953462#M4306</guid>
      <dc:creator>juno2</dc:creator>
      <dc:date>2003-04-17T06:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Login Session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953463#M4307</link>
      <description>Like I said, if you won't have more than 256 PTY-s in use then it isn't needed to change anything.&lt;BR /&gt;&lt;BR /&gt;Bear in mind that things like X terminal emulators, ssh, rshd, telnetd, ... all use PTY-s. But 256 is plenty for many setups.&lt;BR /&gt;&lt;BR /&gt;G.</description>
      <pubDate>Thu, 17 Apr 2003 06:34:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/login-session/m-p/2953463#M4307</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-04-17T06:34:53Z</dc:date>
    </item>
  </channel>
</rss>

