<?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: Limiting users logged in in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290216#M336697</link>
    <description>Yes, tune 'maxusers'. &lt;BR /&gt;&lt;BR /&gt;'npty' is for pseudo-terminals. Note that one user can invoke many pseudo-terminal connections.</description>
    <pubDate>Mon, 20 Oct 2008 12:54:29 GMT</pubDate>
    <dc:creator>Venkatesh BL</dc:creator>
    <dc:date>2008-10-20T12:54:29Z</dc:date>
    <item>
      <title>Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290212#M336693</link>
      <description>How do i go about limiting the number of users logged into my unix server to 99?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 20 Oct 2008 12:38:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290212#M336693</guid>
      <dc:creator>TriggerOfSunderland</dc:creator>
      <dc:date>2008-10-20T12:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290213#M336694</link>
      <description>You can use &lt;BR /&gt;&lt;BR /&gt;kmtune |grep pty&lt;BR /&gt;npty 200 - 200&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;or use&lt;BR /&gt;&lt;BR /&gt;# sysdef |grep pty&lt;BR /&gt;npty 200&lt;BR /&gt;  &lt;BR /&gt;&lt;BR /&gt;These are the default settings but if you alter the # from 200 to... whatever that will set the limit. Man kmtune or sysdef for more options.</description>
      <pubDate>Mon, 20 Oct 2008 12:43:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290213#M336694</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2008-10-20T12:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290214#M336695</link>
      <description>To check the current value of maxusers&lt;BR /&gt;&lt;BR /&gt;# kmtune -q maxusers&lt;BR /&gt;&lt;BR /&gt;To change the value of maxusers&lt;BR /&gt;&lt;BR /&gt;# kmtune -s maxusers=99&lt;BR /&gt;&lt;BR /&gt;If kmtune is not working please provide the HPUX version running in ur server.&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sreekanth</description>
      <pubDate>Mon, 20 Oct 2008 12:48:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290214#M336695</guid>
      <dc:creator>sreekanthtm</dc:creator>
      <dc:date>2008-10-20T12:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290215#M336696</link>
      <description>I forgot to add that the -s option is what would be used with kmtune to set max users. Again Man page for the command tells everything.</description>
      <pubDate>Mon, 20 Oct 2008 12:50:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290215#M336696</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2008-10-20T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290216#M336697</link>
      <description>Yes, tune 'maxusers'. &lt;BR /&gt;&lt;BR /&gt;'npty' is for pseudo-terminals. Note that one user can invoke many pseudo-terminal connections.</description>
      <pubDate>Mon, 20 Oct 2008 12:54:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290216#M336697</guid>
      <dc:creator>Venkatesh BL</dc:creator>
      <dc:date>2008-10-20T12:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290217#M336698</link>
      <description>maxusers doesn't seem to work, and it doesn't appear in SAM under the Kernel tunables.  &lt;BR /&gt;The version i am running is: HP-UX flgu02 B.11.23 U 9000/800 3237201803 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 20 Oct 2008 12:59:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290217#M336698</guid>
      <dc:creator>TriggerOfSunderland</dc:creator>
      <dc:date>2008-10-20T12:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290218#M336699</link>
      <description>you may need to use the full path.&lt;BR /&gt;&lt;BR /&gt;# /usr/sbin/kmtune.&lt;BR /&gt;&lt;BR /&gt;You can use # whereis &lt;CMMND name=""&gt; to get the absolute path of an executable in HPUX&lt;BR /&gt;&lt;BR /&gt;Need not use SAM.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;Sreekanth&lt;/CMMND&gt;</description>
      <pubDate>Mon, 20 Oct 2008 13:03:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290218#M336699</guid>
      <dc:creator>sreekanthtm</dc:creator>
      <dc:date>2008-10-20T13:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290219#M336700</link>
      <description>sreekanthtm,  excellent reference I LOVE the whereis command.</description>
      <pubDate>Mon, 20 Oct 2008 13:09:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290219#M336700</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2008-10-20T13:09:18Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290220#M336701</link>
      <description>and trigger a big word of advice, even though SAM does have its uses (although not very often) SAM is very limited and not a very good reference to use unless you have no choise. Stick with the command line unless you ABSOLUTELY HAVE to use SAm. (Just some advice, take it as you will.)</description>
      <pubDate>Mon, 20 Oct 2008 13:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290220#M336701</guid>
      <dc:creator>Adam W.</dc:creator>
      <dc:date>2008-10-20T13:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290221#M336702</link>
      <description>You won't find kmtune anywhere on a 11.23 box. Try kctune instead.&lt;BR /&gt;&lt;BR /&gt;I'm not sure the maxusers parameter even exists in 11.23... and I don't think setting it would prevent more than 100 people from logging in anyway&lt;BR /&gt;&lt;BR /&gt;How do your users login to the system? At a shell prompt? &lt;BR /&gt;&lt;BR /&gt;Why do you need to stop the 100th person from logging in?&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 20 Oct 2008 13:18:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290221#M336702</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2008-10-20T13:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290222#M336703</link>
      <description>Duncan,&lt;BR /&gt;&lt;BR /&gt;You're right maxusers isn't an option.&lt;BR /&gt;&lt;BR /&gt;I need to limit the number of users because rather than put a user limit on the 10 or so progress databases we use for licencing, we want to put a limit on the server itself and have unlimited user limits on each of the databases creating a 'pool' of licences, if you know what i mean. &lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 20 Oct 2008 13:36:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290222#M336703</guid>
      <dc:creator>TriggerOfSunderland</dc:creator>
      <dc:date>2008-10-20T13:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290223#M336704</link>
      <description>and do all your progess database users connect through a UNIX shell prompt? This seems unlikely to me... &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Mon, 20 Oct 2008 13:53:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290223#M336704</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2008-10-20T13:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290224#M336705</link>
      <description>Yeah, all users connect via telnet and open a shell prompt.</description>
      <pubDate>Mon, 20 Oct 2008 14:00:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290224#M336705</guid>
      <dc:creator>TriggerOfSunderland</dc:creator>
      <dc:date>2008-10-20T14:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting users logged in</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290225#M336706</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You can add some test into /etc/profile.&lt;BR /&gt;&lt;BR /&gt;Something like that:&lt;BR /&gt;if [ $(who | grep -v root| sort -u |wc -l) -gt 99 ]; then&lt;BR /&gt;exit&lt;BR /&gt;#You can add here a mail to the user&lt;BR /&gt;fi &lt;BR /&gt;I don't know which type of license you have, so you can remove sort -u&lt;BR /&gt;HTH</description>
      <pubDate>Mon, 20 Oct 2008 15:21:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/limiting-users-logged-in/m-p/4290225#M336706</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2008-10-20T15:21:31Z</dc:date>
    </item>
  </channel>
</rss>

