<?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: User group incorrect in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645670#M44796</link>
    <description>Well, the problem is not restricted just to one user, it is across many systems and many users.. (may be a patch will solve it ?)</description>
    <pubDate>Wed, 16 Jan 2002 00:05:39 GMT</pubDate>
    <dc:creator>Krishnan Viswanathan</dc:creator>
    <dc:date>2002-01-16T00:05:39Z</dc:date>
    <item>
      <title>User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645665#M44791</link>
      <description>I am finding inconsistencies when I execute the id command as a normal user and as a super user. For example,&lt;BR /&gt;&lt;BR /&gt;$ id smshpd&lt;BR /&gt;uid=15900(smshpd) gid=3026(sms) groups=201(staff)&lt;BR /&gt;&lt;BR /&gt;# id smshpd&lt;BR /&gt;uid=15900(smshpd) gid=3026(sms)&lt;BR /&gt;&lt;BR /&gt;I am seeing this difference for almost all users. Additional groups/incorrect secondary groups are shown when I run the "id" command as a normal user. &lt;BR /&gt;&lt;BR /&gt;Is this how hpux is supposed to work? or is this a bug ? (I tried this on 3 systems and had the same problem)&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Jan 2002 23:23:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645665#M44791</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2002-01-15T23:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645666#M44792</link>
      <description>They should be the same. check your /etc/group file. run id -G smshpd, what do you see?</description>
      <pubDate>Tue, 15 Jan 2002 23:31:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645666#M44792</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2002-01-15T23:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645667#M44793</link>
      <description>id -G returns the gid of groups when a normal user executes it (i mean it is incorrect)&lt;BR /&gt;See my original message for comparision&lt;BR /&gt;&lt;BR /&gt;$ id -G smshpd&lt;BR /&gt;3026 201&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Tue, 15 Jan 2002 23:35:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645667#M44793</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2002-01-15T23:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645668#M44794</link>
      <description>Do you have /etc/logingroup linked to /etc/group?&lt;BR /&gt;&lt;BR /&gt;If not do so and then see what happens.</description>
      <pubDate>Tue, 15 Jan 2002 23:43:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645668#M44794</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2002-01-15T23:43:21Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645669#M44795</link>
      <description>$ id smshpd &lt;BR /&gt;uid=15900(smshpd) gid=3026(sms) groups=201(staff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;you must have 15900:3026 in /etc/passwd for this user. But this user is put in the staff group in /etc/group.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 16 Jan 2002 00:03:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645669#M44795</guid>
      <dc:creator>Wilfred Chau_1</dc:creator>
      <dc:date>2002-01-16T00:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645670#M44796</link>
      <description>Well, the problem is not restricted just to one user, it is across many systems and many users.. (may be a patch will solve it ?)</description>
      <pubDate>Wed, 16 Jan 2002 00:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645670#M44796</guid>
      <dc:creator>Krishnan Viswanathan</dc:creator>
      <dc:date>2002-01-16T00:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645671#M44797</link>
      <description>If the output differs only based on the user, I would suspect that either the path of root points to a different executable, or the root profile contains an alias that specifies options. &lt;BR /&gt;&lt;BR /&gt;To check:&lt;BR /&gt;&lt;BR /&gt;#which id &lt;BR /&gt;/usr/bin/id&lt;BR /&gt;&lt;BR /&gt;#env ((to check search path, etc.))&lt;BR /&gt;&lt;BR /&gt;hth</description>
      <pubDate>Wed, 16 Jan 2002 01:02:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645671#M44797</guid>
      <dc:creator>Mark Fenton</dc:creator>
      <dc:date>2002-01-16T01:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: User group incorrect</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645672#M44798</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I thought I saw what was happening.  I just tested it on an 11.0 systsm and found...&lt;BR /&gt;&lt;BR /&gt;When a non-superuser executes "id loginid" the output lists the uid, primary group, and then only the secondary groups that loginid AND the user executing the command are both in.  When I ran the same "id loginid" command as root, all secondary groups for loginid were listed.&lt;BR /&gt;&lt;BR /&gt;I tested the above as and for a couple of users and the results each time were what I list above.&lt;BR /&gt;&lt;BR /&gt;Then I looked at your question again and assuming your first output is by a non-superuser and the second is by root, it's reversed from what I saw!&lt;BR /&gt;&lt;BR /&gt;Go figure!&lt;BR /&gt;&lt;BR /&gt;Darrell</description>
      <pubDate>Wed, 16 Jan 2002 02:45:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/user-group-incorrect/m-p/2645672#M44798</guid>
      <dc:creator>Darrell Allen</dc:creator>
      <dc:date>2002-01-16T02:45:37Z</dc:date>
    </item>
  </channel>
</rss>

