<?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: id command only returning 20 groups in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015462#M427372</link>
    <description>That's all you can have for HP-UX. See man getconf, or specifically:&lt;BR /&gt; &lt;BR /&gt;getconf NGROUPS_MAX&lt;BR /&gt;20</description>
    <pubDate>Wed, 22 Nov 2006 17:01:47 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2006-11-22T17:01:47Z</dc:date>
    <item>
      <title>id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015461#M427371</link>
      <description>HP-UX 11.23 Itanium&lt;BR /&gt;&lt;BR /&gt;The following command is only returning a user's first 20 groups.  We use ldapux to connect to an openldap server.  Any suggestions?&lt;BR /&gt;&lt;BR /&gt;/usr/bin/id -G -n&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 22 Nov 2006 15:57:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015461#M427371</guid>
      <dc:creator>Dale Renton</dc:creator>
      <dc:date>2006-11-22T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015462#M427372</link>
      <description>That's all you can have for HP-UX. See man getconf, or specifically:&lt;BR /&gt; &lt;BR /&gt;getconf NGROUPS_MAX&lt;BR /&gt;20</description>
      <pubDate>Wed, 22 Nov 2006 17:01:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015462#M427372</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-11-22T17:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015463#M427373</link>
      <description>Ok, thanks.&lt;BR /&gt;&lt;BR /&gt;Any suggestions on how I can determine if a user belongs to a certain group?  Right now my script does this :&lt;BR /&gt;&lt;BR /&gt;for var in `/usr/bin/id -G -n` ; do&lt;BR /&gt;  if [ "$var" = "groupname" ]; then&lt;BR /&gt; TZ=EST5EDT&lt;BR /&gt; export TZ&lt;BR /&gt; break&lt;BR /&gt;  fi&lt;BR /&gt;done&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 17:17:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015463#M427373</guid>
      <dc:creator>Dale Renton</dc:creator>
      <dc:date>2006-11-22T17:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015464#M427374</link>
      <description>Hi Dale:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; how I can determine if a user belongs to a certain group? &lt;BR /&gt;&lt;BR /&gt;# groups user&lt;BR /&gt;&lt;BR /&gt;...shows the group(s) to which user belongs.  For example:&lt;BR /&gt;&lt;BR /&gt;# groups root&lt;BR /&gt;adm bin daemon lp mail other root sys users&lt;BR /&gt;&lt;BR /&gt;See the manpages for 'groups(1)' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 22 Nov 2006 17:23:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015464#M427374</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-11-22T17:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015465#M427375</link>
      <description>Yes, but that only shows me the first 20 groups.  The group I want to determine if the user is a member of is the 23rd.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Dale&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Nov 2006 17:28:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015465#M427375</guid>
      <dc:creator>Dale Renton</dc:creator>
      <dc:date>2006-11-22T17:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015466#M427376</link>
      <description>For HP-UX, it won't matter. The user may be associated with 23 groups but only the first 20 are meaningful. The user will not have any group rights for the 23rd group (or any group beyond the first 20). If you create a file with 660 permissions, owned by someone else with group = group23, the user (with group23 membership) cannot read or write the file. This is a system wide limitation. Various flavors of Unix have different group membership limitations.</description>
      <pubDate>Wed, 22 Nov 2006 19:17:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015466#M427376</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-11-22T19:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015467#M427377</link>
      <description>Ok thanks.  I guess I will have to move the groups in question up in the list.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Nov 2006 08:25:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015467#M427377</guid>
      <dc:creator>Dale Renton</dc:creator>
      <dc:date>2006-11-23T08:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: id command only returning 20 groups</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015468#M427378</link>
      <description>closed</description>
      <pubDate>Thu, 23 Nov 2006 08:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/id-command-only-returning-20-groups/m-p/5015468#M427378</guid>
      <dc:creator>Dale Renton</dc:creator>
      <dc:date>2006-11-23T08:27:22Z</dc:date>
    </item>
  </channel>
</rss>

