<?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: Nis-problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628526#M592052</link>
    <description>Hello Alex!&lt;BR /&gt;&lt;BR /&gt;Thanks for your fast reply.&lt;BR /&gt;&lt;BR /&gt;Yes there was an error in&lt;BR /&gt;the master group-file.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Mon, 10 Dec 2001 15:43:22 GMT</pubDate>
    <dc:creator>Kassler</dc:creator>
    <dc:date>2001-12-10T15:43:22Z</dc:date>
    <item>
      <title>Nis-problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628523#M592049</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;I have a problem concerning nis.&lt;BR /&gt;I have a nis-master server (L3000, HP-UX 11.00)&lt;BR /&gt;and 9 clients.&lt;BR /&gt;&lt;BR /&gt;If i want to change a group-id on the client&lt;BR /&gt;eg.     newgrp example&lt;BR /&gt;i get following message:&lt;BR /&gt;&lt;BR /&gt;Unknown group&lt;BR /&gt;&lt;BR /&gt;With the command&lt;BR /&gt;&lt;BR /&gt;ypcat -d mikron group&lt;BR /&gt;&lt;BR /&gt;he shows me all groups from the nis server.&lt;BR /&gt;&lt;BR /&gt;The other maps (hosts, passwd, ..)&lt;BR /&gt;have no problems.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.</description>
      <pubDate>Mon, 10 Dec 2001 13:26:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628523#M592049</guid>
      <dc:creator>Kassler</dc:creator>
      <dc:date>2001-12-10T13:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: Nis-problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628524#M592050</link>
      <description>This looks similar ....&lt;BR /&gt;&lt;BR /&gt;Changing groups w/newgrp, NIS clients fail with "Unknown group" &lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;From 11.0 client as certain users (I'll use joe for example),&lt;BR /&gt;I issue the "id" command and see the following :&lt;BR /&gt;&lt;BR /&gt; $ id&lt;BR /&gt; uid=201(joe) gid=20() groups=121(),14(),10(),678(),3001(),100(),109(),300()&lt;BR /&gt;&lt;BR /&gt;I can only newgrp to the first 3 GIDs (20,121, and 14) ...&lt;BR /&gt;any other GIDs I try to "newgrp" to gives me the&lt;BR /&gt;&lt;BR /&gt; "Unknown group" message&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;CONFIGURATION&lt;BR /&gt;&lt;BR /&gt;NIS Master Server is on hp-ux 10.20&lt;BR /&gt;NIS Clients are on hp-ux 11.0&lt;BR /&gt;&lt;BR /&gt;RESOLUTION&lt;BR /&gt;&lt;BR /&gt;Since the 3 of 9 groups are in sequence as listed in the group map as seen with&lt;BR /&gt;a 'ypcat group' from client ...&lt;BR /&gt;&lt;BR /&gt; # ypcat group | grep joe&lt;BR /&gt; users:*:20:joe,larry,curly,moe,sam,bill,diane&lt;BR /&gt; hwdev:*:121:larry,curly,moe,sam,bill,diane,joe&lt;BR /&gt; sysad:*:14:larry,joe,curly,moe,sam,bill,diane&lt;BR /&gt; staff:*:10:larry,curly,joe,moe,sam,bill,diane&lt;BR /&gt; admin:*:678:larry,curly,moe,sam,joe,bill,diane&lt;BR /&gt; piled:*:3001:larry,curly,moe,sam,bill,joe,diane&lt;BR /&gt; tummy:*:100:larry,curly,moe,sam,bill,diane,joe&lt;BR /&gt; lomos:*:109:larry,joe,curly,moe,sam,bill,diane&lt;BR /&gt; htool:*:300:joe,larry,curly,moe,sam,bill,diane&lt;BR /&gt;&lt;BR /&gt;... looking thru map file to see if there are any anomalies between the&lt;BR /&gt;following entries in group map ...&lt;BR /&gt;&lt;BR /&gt; sysad:*:14:larry,joe,curly,moe,sam,bill,diane&lt;BR /&gt; staff:*:10:larry,curly,joe,moe,sam,bill,diane&lt;BR /&gt;&lt;BR /&gt;... and found the following :&lt;BR /&gt;&lt;BR /&gt; carrier:*:403  &amp;lt;--- Notice no colon(:)&lt;BR /&gt;&lt;BR /&gt;This should be ...&lt;BR /&gt;&lt;BR /&gt; carrier:*:403:&lt;BR /&gt;&lt;BR /&gt;After making this modification in the master group map, rebuilding and pushing&lt;BR /&gt;the group map, I can now newgrp to all of my groups from my 11.0 client.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;NOTE: The above exclusion of a simple colon (:) is not the only stray&lt;BR /&gt;character that can cause the above problem symptoms. Look closely for any&lt;BR /&gt;stray or corrupt or missing characters that may be throwing your ability to&lt;BR /&gt;change groups off.&lt;BR /&gt;&lt;BR /&gt;If you are having trouble finding any corruption in the group file upon visual&lt;BR /&gt;inspection, you also have use of the /usr/sbin/grpck command. grpck&lt;BR /&gt;verifies all entries in a "group" file and reports any inconsistencies with&lt;BR /&gt;regard to the number of fields, group name, group ID, and checks if login&lt;BR /&gt;names appear in the /etc/passwd file. The default group file is /etc/group&lt;BR /&gt;although any group file can be checked. This allows you to pull the NIS group&lt;BR /&gt;map from the master and run a check on it as well. For example :&lt;BR /&gt;&lt;BR /&gt;   ypcat group &amp;gt; /tmp/group 2&amp;gt;&amp;amp;1; grpck /tmp/group.&lt;BR /&gt;&lt;BR /&gt;The message for the above example would be "Too many/few fields"&lt;BR /&gt;(NOTE: You will most likely see alot of Logname not found in password&lt;BR /&gt;file entries since the NIS master group map has alot of usernames that do&lt;BR /&gt;not exist in the NIS clients local /etc/passwd file).</description>
      <pubDate>Mon, 10 Dec 2001 14:11:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628524#M592050</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-12-10T14:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Nis-problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628525#M592051</link>
      <description>and this looks very relevant ;)&lt;BR /&gt;&lt;BR /&gt;HCO_22096               &lt;BR /&gt;s700_800 11.00 cumulative newgrp(1) patch &lt;BR /&gt;Document Information Table &lt;BR /&gt;&lt;BR /&gt;Patch Name: PHCO_22096&lt;BR /&gt;&lt;BR /&gt;Patch Description: s700_800 11.00 cumulative newgrp(1) patch&lt;BR /&gt;&lt;BR /&gt;Creation Date: 00/08/03&lt;BR /&gt;&lt;BR /&gt;Post Date:  00/08/09&lt;BR /&gt;&lt;BR /&gt;Hardware Platforms - OS Releases:&lt;BR /&gt;        s700: 11.00&lt;BR /&gt;        s800: 11.00&lt;BR /&gt;&lt;BR /&gt;Products: N/A&lt;BR /&gt;&lt;BR /&gt;Filesets:&lt;BR /&gt;        OS-Core.CMDS-AUX,fr=B.11.00,fa=HP-UX_B.11.00_32/64,v=HP&lt;BR /&gt;&lt;BR /&gt;Automatic Reboot?: No&lt;BR /&gt;&lt;BR /&gt;Status: General Release&lt;BR /&gt;&lt;BR /&gt;Critical:&lt;BR /&gt;        Yes&lt;BR /&gt;        PHCO_22096: OTHER&lt;BR /&gt;                Previous patch was critical.&lt;BR /&gt;         [PHCO_22021/PACHRDME/English] : OTHER&lt;BR /&gt;                Previous patch was critical.&lt;BR /&gt;         [PHCO_14044/PACHRDME/English] : OTHER&lt;BR /&gt;                The present /usr/bin/newgrp doesn't identify&lt;BR /&gt;                NIS groups.&lt;BR /&gt;                This is a critical defect.&lt;BR /&gt;&lt;BR /&gt;Category Tags:&lt;BR /&gt;        defect_repair general_release critical&lt;BR /&gt;&lt;BR /&gt;Path Name: /hp-ux_patches/s700_800/11.X/PHCO_22096&lt;BR /&gt;&lt;BR /&gt;Symptoms:&lt;BR /&gt;        PHCO_22096:&lt;BR /&gt;        1. newgrp is not changing user group properly.&lt;BR /&gt;&lt;BR /&gt;         [PHCO_22021/PACHRDME/English] :&lt;BR /&gt;        1. newgrp command can use the wrong id and&lt;BR /&gt;           password when group password matches with&lt;BR /&gt;           the password of some other group.&lt;BR /&gt;&lt;BR /&gt;         [PHCO_14044/PACHRDME/English] :&lt;BR /&gt;        1. Missing keyword "critical" in the Category Tags field.&lt;BR /&gt;&lt;BR /&gt;         [PHCO_13214/PACHRDME/English] :&lt;BR /&gt;        1. /usr/bin/newgrp doesn't identify NIS groups.&lt;BR /&gt;           If the system is an NIS client and the group&lt;BR /&gt;           argument to newgrp is defined in NIS database&lt;BR /&gt;           only, newgrp exits with "Unknown group" error.&lt;BR /&gt;&lt;BR /&gt;Defect Description:&lt;BR /&gt;        PHCO_22096:&lt;BR /&gt;        1. newgrp is not changing user group properly.&lt;BR /&gt;           Memory allocation was done for storing NULL&lt;BR /&gt;           passwords also.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 10 Dec 2001 14:17:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628525#M592051</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2001-12-10T14:17:09Z</dc:date>
    </item>
    <item>
      <title>Re: Nis-problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628526#M592052</link>
      <description>Hello Alex!&lt;BR /&gt;&lt;BR /&gt;Thanks for your fast reply.&lt;BR /&gt;&lt;BR /&gt;Yes there was an error in&lt;BR /&gt;the master group-file.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 10 Dec 2001 15:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nis-problem/m-p/2628526#M592052</guid>
      <dc:creator>Kassler</dc:creator>
      <dc:date>2001-12-10T15:43:22Z</dc:date>
    </item>
  </channel>
</rss>

