<?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: changing group in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039394#M670869</link>
    <description>&amp;gt;Bill: I believe that requirement disappeared in 11.00.&lt;BR /&gt;&lt;BR /&gt;It looks like you are right.</description>
    <pubDate>Wed, 11 Apr 2007 22:33:16 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2007-04-11T22:33:16Z</dc:date>
    <item>
      <title>changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039387#M670862</link>
      <description>&lt;BR /&gt;How to change user group temporarily without making changes in /etc/groups file?&lt;BR /&gt; &lt;BR /&gt;</description>
      <pubDate>Wed, 11 Apr 2007 05:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039387#M670862</guid>
      <dc:creator>Md.Shahabuddin</dc:creator>
      <dc:date>2007-04-11T05:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039388#M670863</link>
      <description>A privileged user can use setgid(2) and see privgrp(4).  Also see newgrp(1).&lt;BR /&gt;&lt;BR /&gt;If you are in multiple groups, you don't need to change /etc/groups.&lt;BR /&gt;&lt;BR /&gt;What does id(1) show for your user?</description>
      <pubDate>Wed, 11 Apr 2007 06:00:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039388#M670863</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-11T06:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039389#M670864</link>
      <description>User's group can be changed by usermod command. See man usermod for more info.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;running usermod command will update the group file.&lt;BR /&gt;&lt;BR /&gt;if you want to get access to a directory belonging to some other group then changing the permissions of that directory or file can help instead of changing the user's group temporarily.&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 11 Apr 2007 06:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039389#M670864</guid>
      <dc:creator>Sunny Jaisinghani</dc:creator>
      <dc:date>2007-04-11T06:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039390#M670865</link>
      <description>newgrp &lt;GROUPNAME&gt; Rest all please do a man newgrp&lt;BR /&gt;&lt;BR /&gt;The newgrp command changes your group ID without changing your user ID&lt;BR /&gt;      and replaces your current shell with a new one.&lt;BR /&gt;&lt;BR /&gt;      If you specify group, the change is successful if group exists and&lt;BR /&gt;      either your user ID is a member of the new group, or group has a&lt;BR /&gt;      password and you can supply it from the terminal.&lt;BR /&gt;&lt;BR /&gt;      If you omit group, newgroup changes to the group specified in your&lt;BR /&gt;      entry in the password file, /etc/passwd.&lt;BR /&gt;&lt;BR /&gt;      Whether the group is changed successfully or not, or the new group is&lt;BR /&gt;      the same as the old one or not, newgrp proceeds to replace your&lt;BR /&gt;      current shell with the one specified in the shell field of your&lt;BR /&gt;      password file entry.  If that field is empty, newgrp uses the POSIX&lt;BR /&gt;      shell, /usr/bin/sh&lt;/GROUPNAME&gt;</description>
      <pubDate>Wed, 11 Apr 2007 06:04:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039390#M670865</guid>
      <dc:creator>Anshumali</dc:creator>
      <dc:date>2007-04-11T06:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039391#M670866</link>
      <description>Do you need to change the primary group for a user or simply add that user to multiple groups? The newgrp command will change the primary group but it has annoying consequences, not the least of which is the start of a new shell. This means that it cannot be imbedded inside a script (the script stops when newgrp is run). &lt;BR /&gt; &lt;BR /&gt;By simply adding the user's login to other groups, that user will have all the privileges for that group. Use the id command to see what groups are currently enabled for each user.</description>
      <pubDate>Wed, 11 Apr 2007 06:55:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039391#M670866</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-11T06:55:14Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039392#M670867</link>
      <description>&amp;gt;Bill: By simply adding the user's login to other groups&lt;BR /&gt;&lt;BR /&gt;This isn't enough.  You need to symlink logingroup to group.</description>
      <pubDate>Wed, 11 Apr 2007 08:10:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039392#M670867</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-11T08:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039393#M670868</link>
      <description>&amp;gt; Dennis - [sym]link to logingroup&lt;BR /&gt;&lt;BR /&gt;I believe that requirement disappeared in 11.00. Around the same time I remember that the primary group membership would be determined from /etc/passwd and did not have to be replicated in /etc/group, so /etc/group user lists were only needed for multiple group memberships.</description>
      <pubDate>Wed, 11 Apr 2007 12:56:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039393#M670868</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-11T12:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039394#M670869</link>
      <description>&amp;gt;Bill: I believe that requirement disappeared in 11.00.&lt;BR /&gt;&lt;BR /&gt;It looks like you are right.</description>
      <pubDate>Wed, 11 Apr 2007 22:33:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039394#M670869</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-04-11T22:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: changing group</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039395#M670870</link>
      <description>Thanks Folk !!!!!!!!!</description>
      <pubDate>Thu, 18 Dec 2008 05:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-group/m-p/5039395#M670870</guid>
      <dc:creator>Md.Shahabuddin</dc:creator>
      <dc:date>2008-12-18T05:54:16Z</dc:date>
    </item>
  </channel>
</rss>

