HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LINE_MAX 2048 ??
Operating System - HP-UX
1837121
Members
11223
Online
110112
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
10-21-2003 02:12 AM
10-21-2003 02:12 AM
Hi!
Is there a work around for inserting more than 450 users to a group in /etc/group file avoiding "line too long" msg?
HP-UX 11.00.
Rgds
NilsI
Is there a work around for inserting more than 450 users to a group in /etc/group file avoiding "line too long" msg?
HP-UX 11.00.
Rgds
NilsI
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2003 02:27 AM
10-21-2003 02:27 AM
Re: LINE_MAX 2048 ??
No, and this is a very common problem in NIS maps but what you can do is create multiple groups with a common group id:
grp1::125:tom,dick,harry
grp1a::125:huey,louie,dewey
grp1b::125:donald,daffy,yacky
If you are using NIS then it is very important for users who are members of multiple groups to be listed in the first group because only the first will be picked up by the NIS map. The other thing to note (NIS or not) is that it is only important to list those users who will be changing groups in the groups file because they are implicitly members of the group defined in their passwd entry. Thus one method to limit the size of the groups entry is to simply not include those users who do not need to be members of more than one group.
grp1::125:tom,dick,harry
grp1a::125:huey,louie,dewey
grp1b::125:donald,daffy,yacky
If you are using NIS then it is very important for users who are members of multiple groups to be listed in the first group because only the first will be picked up by the NIS map. The other thing to note (NIS or not) is that it is only important to list those users who will be changing groups in the groups file because they are implicitly members of the group defined in their passwd entry. Thus one method to limit the size of the groups entry is to simply not include those users who do not need to be members of more than one group.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP