<?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: SAM question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690049#M247010</link>
    <description>I checked out all the group man pages and then ran a couple tests of my own.  When I create a new user the default group is users.  After they are created I can go into groups and add them into the groups that they need to be in.  I am cool with that.&lt;BR /&gt;&lt;BR /&gt;The second test was that when I created a new user I changed the group they were to be a member of.  After the user was created I checked on them to make sure that they were in the correct group.  They were in the group but there was a star at the end of their name and when I checked the /etc/group file they weren't listed as a member of that group.  Once I added them to the group and saved the file and went back into SAM and looked the star was gone and they showed up in the group.&lt;BR /&gt;&lt;BR /&gt;From now when we add a user via SAM we will let them go into the default users group and then add them to the groups that they need to be in.&lt;BR /&gt;&lt;BR /&gt;Is that the way you see it?</description>
    <pubDate>Thu, 15 Dec 2005 14:14:42 GMT</pubDate>
    <dc:creator>Jeffrey F. Goldsmith</dc:creator>
    <dc:date>2005-12-15T14:14:42Z</dc:date>
    <item>
      <title>SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690042#M247003</link>
      <description>I was wondering why every time I create a user with SAM that they never show up in the /etc/group file.  When I look at the groups from within SAM I see the users that were created and they all have a star next to their names.  When I vi the /etc/group file and manually add the users, because they aren't there, the star next to their names goes away.&lt;BR /&gt;&lt;BR /&gt;I have been dealing with this problem for several years now and would like to know if there was a way to fix it.&lt;BR /&gt;&lt;BR /&gt;rp3440-4 w/HP-UX 11.i23&lt;BR /&gt;&lt;BR /&gt;Thanks for the help&lt;BR /&gt;</description>
      <pubDate>Mon, 12 Dec 2005 20:15:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690042#M247003</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-12-12T20:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690043#M247004</link>
      <description>Hi Jeffrey:&lt;BR /&gt;&lt;BR /&gt;This has been the case since 11.0.  There is no need to add the primary group of the user.&lt;BR /&gt;&lt;BR /&gt;In 10.20 and prior, it was common to see LINE_MAX exceeded for the 'users' group, for instance, because every user was recorded in '/etc/group' as a member of the 'users' group.  &lt;BR /&gt;&lt;BR /&gt;See the man pages for 'group(4)' for more information.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 12 Dec 2005 20:24:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690043#M247004</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-12T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690044#M247005</link>
      <description>So, when I create a new user and they need to be in 3 groups I should create the user and then put them into the needed groups.  Why doesn't the /etc/group file get updated with the user when I put them into that group?&lt;BR /&gt;&lt;BR /&gt;If the user group isnt neccessary why is there?</description>
      <pubDate>Thu, 15 Dec 2005 13:23:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690044#M247005</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-12-15T13:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690045#M247006</link>
      <description>Hi Jeffry ,&lt;BR /&gt;&lt;BR /&gt;When you create a user either from SAM or useradd , the primary group membership  group will not show  in /etc/group file. But the supplimental group membership will show in /etc/group file.&lt;BR /&gt;&lt;BR /&gt;for ex: if you created a user abc from sam , by default it will take group: users .&lt;BR /&gt;&lt;BR /&gt;But abc user will not be listed in /etc/group , as its abc users primary group.&lt;BR /&gt;&lt;BR /&gt;To see the primary group , use id command.&lt;BR /&gt;# id abc&lt;BR /&gt;&lt;BR /&gt;To add supplimentarty group , you can use usermod with -G option.&lt;BR /&gt;&lt;BR /&gt;Ex: # usermod -G sys abc&lt;BR /&gt;(It will ass sys group to the abc user , and will be visible in /etc/group ).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Thu, 15 Dec 2005 13:42:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690045#M247006</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-15T13:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690046#M247007</link>
      <description>Hi Jeffry ,&lt;BR /&gt;&lt;BR /&gt;When you create a user either from SAM or useradd , the primary group membership  group will not show  in /etc/group file. But the supplimental group membership will show in /etc/group file.&lt;BR /&gt;&lt;BR /&gt;for ex: if you created a user abc from sam , by default it will take group: users .&lt;BR /&gt;&lt;BR /&gt;But abc user will not be listed in /etc/group , as its abc users primary group.&lt;BR /&gt;&lt;BR /&gt;To see the primary group , use id command.&lt;BR /&gt;# id abc&lt;BR /&gt;&lt;BR /&gt;To add supplimentarty group , you can use usermod with -G option.&lt;BR /&gt;&lt;BR /&gt;Ex: # usermod -G sys abc&lt;BR /&gt;(It will add sys group to the abc user , and will be visible in /etc/group ).&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Thu, 15 Dec 2005 13:42:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690046#M247007</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-15T13:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690047#M247008</link>
      <description>Jeffery,&lt;BR /&gt;&lt;BR /&gt;If you add the user to existing groups the groups group numbers probably get listed in the /etc/passwd file. Not sure with 11.23 have not box handy.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 15 Dec 2005 13:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690047#M247008</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-12-15T13:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690048#M247009</link>
      <description>Hi (again) Jeffrey:&lt;BR /&gt;&lt;BR /&gt;Have a look at the manpages for 'group(4)' regarding the '/etc/logingroup' in particular.&lt;BR /&gt;&lt;BR /&gt;Look too, at the manpages for 'groups(1)' to see how to list groups.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 15 Dec 2005 13:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690048#M247009</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-15T13:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690049#M247010</link>
      <description>I checked out all the group man pages and then ran a couple tests of my own.  When I create a new user the default group is users.  After they are created I can go into groups and add them into the groups that they need to be in.  I am cool with that.&lt;BR /&gt;&lt;BR /&gt;The second test was that when I created a new user I changed the group they were to be a member of.  After the user was created I checked on them to make sure that they were in the correct group.  They were in the group but there was a star at the end of their name and when I checked the /etc/group file they weren't listed as a member of that group.  Once I added them to the group and saved the file and went back into SAM and looked the star was gone and they showed up in the group.&lt;BR /&gt;&lt;BR /&gt;From now when we add a user via SAM we will let them go into the default users group and then add them to the groups that they need to be in.&lt;BR /&gt;&lt;BR /&gt;Is that the way you see it?</description>
      <pubDate>Thu, 15 Dec 2005 14:14:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690049#M247010</guid>
      <dc:creator>Jeffrey F. Goldsmith</dc:creator>
      <dc:date>2005-12-15T14:14:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAM question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690050#M247011</link>
      <description>Jeffrey ,&lt;BR /&gt;&lt;BR /&gt;Also you can check for 'login' comamnd ,&lt;BR /&gt;&lt;BR /&gt;# man login&lt;BR /&gt;&lt;BR /&gt;The default data is: login, user ID,&lt;BR /&gt;      primary group name, primary group ID, and /etc/passwd comment field&lt;BR /&gt;      value. Output is sort by user ID, with user logins following system&lt;BR /&gt;      logins.&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Raj</description>
      <pubDate>Thu, 15 Dec 2005 14:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sam-question/m-p/3690050#M247011</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-12-15T14:15:20Z</dc:date>
    </item>
  </channel>
</rss>

