<?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 groupadd not unique in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5326943#M475701</link>
    <description>&lt;P&gt;I want to add several users and several groups to a HPUX 11.31 box. When I type groupadd -g GID &amp;lt;name&amp;gt;, I'm told GID is not unique....even thoug it doesn't exist in the /etc/group file. I read in the man pages about NIS but I don't think we are using NIS....well we are using LDAP, but can I still add these groups locally that may not be unique?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2011 10:03:07 GMT</pubDate>
    <dc:creator>jackie baron_1</dc:creator>
    <dc:date>2011-09-09T10:03:07Z</dc:date>
    <item>
      <title>groupadd not unique</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5326943#M475701</link>
      <description>&lt;P&gt;I want to add several users and several groups to a HPUX 11.31 box. When I type groupadd -g GID &amp;lt;name&amp;gt;, I'm told GID is not unique....even thoug it doesn't exist in the /etc/group file. I read in the man pages about NIS but I don't think we are using NIS....well we are using LDAP, but can I still add these groups locally that may not be unique?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 10:03:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5326943#M475701</guid>
      <dc:creator>jackie baron_1</dc:creator>
      <dc:date>2011-09-09T10:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: groupadd not unique</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5327067#M475703</link>
      <description>&lt;P&gt;&amp;gt;we are using LDAP, but can I still add these groups locally that may not be unique?﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are the names different for the same IDs?&amp;nbsp; You don't want to do that.&lt;/P&gt;&lt;P&gt;If they are the same, you should leave out the local copy.&lt;/P&gt;&lt;P&gt;Of course you can just use vi on /etc/group.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 11:51:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5327067#M475703</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2011-09-09T11:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: groupadd not unique</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5327481#M475716</link>
      <description>&lt;P&gt;check your /etc/nsswitch.conf file. that will tell you how the OS is searching for UIDs and GIDs. it should be something like this (we use vintela servers as the LDAP "product"). in this case, the OS looks to the files for UID, GID affiliation&amp;nbsp; first before looking to LDAP (vas)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;passwd: files vas3&lt;/P&gt;&lt;P&gt;group: files vas3&lt;/P&gt;&lt;P&gt;hosts: files [NOTFOUND=continue] dns&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may find that&amp;nbsp; ldap is searched first. files should be first so that local accounts are found locally without getting confused by similar UID/GID in LDAP.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;also, check for the existence of the UID/GID in LDAP.... list the users/groups in ldap (not sure how, but vintela has a tool,&amp;nbsp;vastool).&amp;nbsp; maybe you can find what you are confilcting with.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2011 16:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5327481#M475716</guid>
      <dc:creator>Paul Wasik</dc:creator>
      <dc:date>2011-09-09T16:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: groupadd not unique</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5334273#M475796</link>
      <description>&lt;P&gt;Thanks guys....I think I can disable LDAP in order to add them locally. Now how does one do that?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 13:16:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5334273#M475796</guid>
      <dc:creator>jackie baron_1</dc:creator>
      <dc:date>2011-09-16T13:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: groupadd not unique</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5334277#M475797</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/1082062"&gt;@jackie baron_1&lt;/a&gt; wrote:&lt;BR /&gt;&lt;P&gt;Thanks guys....I think I can disable LDAP in order to add them locally. Now how does one do that?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You sould see the key 'ldap' in your '/etc/nsswitch.conf' file.&amp;nbsp; Delete it to disable its use.&amp;nbsp; Look at the manpages for 'nsswitch.conf(4)' for more information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;...JRF...&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 13:22:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5334277#M475797</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2011-09-16T13:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: groupadd not unique</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5335205#M475813</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Firstly, you can pass the command-line option to groupadd(1M):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-o&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow the gid to be non-unique (that is, a duplicate)﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And because groupadd(1M) only adds the group definition into /etc/group file,&lt;/P&gt;&lt;P&gt;there is never a danger to mess with NIS or LDAP... That is the proper weay for you&lt;/P&gt;&lt;P&gt;to use this command.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Secondly, if you really want to remove LDAP entry from the setup,&lt;/P&gt;&lt;P&gt;just edit /etc/nsswitch.conf. Look for line:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;group: files ldap ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VK2COT&lt;/P&gt;</description>
      <pubDate>Sun, 18 Sep 2011 07:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/groupadd-not-unique/m-p/5335205#M475813</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2011-09-18T07:39:53Z</dc:date>
    </item>
  </channel>
</rss>

