- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: SAM question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 12:15 PM
тАО12-12-2005 12:15 PM
SAM question
I have been dealing with this problem for several years now and would like to know if there was a way to fix it.
rp3440-4 w/HP-UX 11.i23
Thanks for the help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-12-2005 12:24 PM
тАО12-12-2005 12:24 PM
Re: SAM question
This has been the case since 11.0. There is no need to add the primary group of the user.
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.
See the man pages for 'group(4)' for more information.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 05:23 AM
тАО12-15-2005 05:23 AM
Re: SAM question
If the user group isnt neccessary why is there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 05:42 AM
тАО12-15-2005 05:42 AM
Re: SAM question
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.
for ex: if you created a user abc from sam , by default it will take group: users .
But abc user will not be listed in /etc/group , as its abc users primary group.
To see the primary group , use id command.
# id abc
To add supplimentarty group , you can use usermod with -G option.
Ex: # usermod -G sys abc
(It will ass sys group to the abc user , and will be visible in /etc/group ).
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 05:42 AM
тАО12-15-2005 05:42 AM
Re: SAM question
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.
for ex: if you created a user abc from sam , by default it will take group: users .
But abc user will not be listed in /etc/group , as its abc users primary group.
To see the primary group , use id command.
# id abc
To add supplimentarty group , you can use usermod with -G option.
Ex: # usermod -G sys abc
(It will add sys group to the abc user , and will be visible in /etc/group ).
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 05:47 AM
тАО12-15-2005 05:47 AM
Re: SAM question
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.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 05:51 AM
тАО12-15-2005 05:51 AM
Re: SAM question
Have a look at the manpages for 'group(4)' regarding the '/etc/logingroup' in particular.
Look too, at the manpages for 'groups(1)' to see how to list groups.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 06:14 AM
тАО12-15-2005 06:14 AM
Re: SAM question
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.
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.
Is that the way you see it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 06:15 AM
тАО12-15-2005 06:15 AM
Re: SAM question
Also you can check for 'login' comamnd ,
# man login
The default data is: login, user ID,
primary group name, primary group ID, and /etc/passwd comment field
value. Output is sort by user ID, with user logins following system
logins.
hth,
Raj