- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: possibly corrupt group file?
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
Forums
Discussions
Discussions
Discussions
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
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
11-24-2003 04:24 AM
11-24-2003 04:24 AM
We have a number of HP-UX systems with users that are secondary members of 2 additional groups. We have been experiencing warnings due to LINE MAX in limits.h being exceeded. I implemented a workaround for this by creating multiple entires for each group and dividing the users accordingly - ie,
mygroup::user1,user2,....
mygroup::user30,user31,....
But when I made any subsequent changes (eg adding a new user), the group file reverted back to its previous state!
I then decided to at least reduce the problem by making one of the secondary groups the primary for half the users, and the other the primary group for the other half. I used usermod -g for this, but the necessary group file updates have not been made - ie, the users are still listed under their now primary group. Even if I could edit the group file using vi (which I can't because of the corruption), the task of manual deletions would be far too tedious.
So basically, my question is:
does anyone know of a way to actually rebuild the /etc/group file?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 04:31 AM
11-24-2003 04:31 AM
Re: possibly corrupt group file?
Will validate the file, though you seem to have already done that.
I would restore the group file to the way it was before you tried this change. That would be the easiest thing to do.
Then you can manually add additional groups wiht the groupadd command.
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
11-24-2003 04:53 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 04:56 AM
11-24-2003 04:56 AM
Re: possibly corrupt group file?
Also you can have different group name, but same gid.
This way you can have n no. of users with same gid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2003 04:59 AM
11-24-2003 04:59 AM
Re: possibly corrupt group file?
grpck
Is what I meant earlier.
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
11-24-2003 08:39 PM
11-24-2003 08:39 PM
Re: possibly corrupt group file?
Any more suggestions, or should I just quit while I'm (slightly) ahead?