<?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: /etc/group limitations in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020669#M130355</link>
    <description>Check out this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35f85f260cafd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35f85f260cafd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The hard limit is:  LINE_MAX is 2048 &lt;BR /&gt;&lt;BR /&gt;etc/group should have only secondary groups listed, NOT the primary group listed in /etc/passwd. So if you have very long lines with user logins listing their primary group, you can remove all of the logins and just leave the empty group line as in: &lt;BR /&gt;&lt;BR /&gt;users::20: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
    <pubDate>Thu, 10 Jul 2003 19:17:18 GMT</pubDate>
    <dc:creator>Geoff Wild</dc:creator>
    <dc:date>2003-07-10T19:17:18Z</dc:date>
    <item>
      <title>/etc/group limitations</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020668#M130354</link>
      <description>I have read about certain limitations within HP-UX with regard to the /etc/group file. For instance there is a 2048 Byte limit to the length of a particular group listing. There is also a limit of 233 users per group. &lt;BR /&gt;&lt;BR /&gt;Is this accurate? I ran a system with thousands of users in a single group in HP-UX 10.20. I never had an issue with logins or group permissions. Where will this "hard limit" manifest itself? Is there a workaround for large systems with thousands of users?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Brian</description>
      <pubDate>Thu, 10 Jul 2003 19:10:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020668#M130354</guid>
      <dc:creator>Brian DelPizzo</dc:creator>
      <dc:date>2003-07-10T19:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/group limitations</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020669#M130355</link>
      <description>Check out this link:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35f85f260cafd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x35f85f260cafd4118fef0090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The hard limit is:  LINE_MAX is 2048 &lt;BR /&gt;&lt;BR /&gt;etc/group should have only secondary groups listed, NOT the primary group listed in /etc/passwd. So if you have very long lines with user logins listing their primary group, you can remove all of the logins and just leave the empty group line as in: &lt;BR /&gt;&lt;BR /&gt;users::20: &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;</description>
      <pubDate>Thu, 10 Jul 2003 19:17:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020669#M130355</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-07-10T19:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/group limitations</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020670#M130356</link>
      <description>This is typically only a problem if you are running NIS. Bear in mind that you really don't even need to add members to the group file as long as the GID is in the passwd file.&lt;BR /&gt;&lt;BR /&gt;You would really only need to add many,many users to the group file if users can be members of multiple groups and you are then also using /etc/logingroup.</description>
      <pubDate>Thu, 10 Jul 2003 19:22:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020670#M130356</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-07-10T19:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/group limitations</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020671#M130357</link>
      <description>Hi Brian,&lt;BR /&gt;&lt;BR /&gt;Besides the line limit mentioned above, another limit applies.&lt;BR /&gt;No user can belong to more than 20 groups.&lt;BR /&gt;&lt;BR /&gt;This is defined in /usr/include/limits.h as NGROUPS_MAX&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;Jeff</description>
      <pubDate>Thu, 10 Jul 2003 20:00:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020671#M130357</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-07-10T20:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/group limitations</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020672#M130358</link>
      <description>The length of each line in /etc/group is limited to LINE_MAX, as&lt;BR /&gt;      defined in &lt;LIMITS.H&gt;.  Because of this limit, users should not be&lt;BR /&gt;      listed in their primary group - only in their additional groups.&lt;BR /&gt;&lt;/LIMITS.H&gt;</description>
      <pubDate>Thu, 10 Jul 2003 20:17:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020672#M130358</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2003-07-10T20:17:29Z</dc:date>
    </item>
    <item>
      <title>Re: /etc/group limitations</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020673#M130359</link>
      <description>It is not documented very well, but there is no practical limit to the number of users that can belong to a single group. Here are the two most important rules:&lt;BR /&gt;&lt;BR /&gt;1. Starting with 10.20 (possibly with patches), the default group listed in /etc/passwd does not have to be repeated in /etc/group. Thus, only additional group memberships are necessary for /etc/group. (and for the obsolete 10.20 release and earlier versions, there must be a link from /etc/group to /etc/logingroup to make alternate groups automatically active.&lt;BR /&gt;&lt;BR /&gt;2. It is not necessary to list every user ID on a single line. You can put the same group ID on dozens or hundreds of lines and have just 8-12 logins per line:&lt;BR /&gt;&lt;BR /&gt;apps::44:user1,user2,user3,user4,user5&lt;BR /&gt;apps::44:user6,user7,user8,user9,user10&lt;BR /&gt;&lt;BR /&gt;and so on..</description>
      <pubDate>Thu, 10 Jul 2003 20:55:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/etc-group-limitations/m-p/3020673#M130359</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2003-07-10T20:55:57Z</dc:date>
    </item>
  </channel>
</rss>

