- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Order in /etc/group
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
02-10-2004 02:31 AM
02-10-2004 02:31 AM
We have a user, let us call him "pete" who has to be included into a lot of groups.
Now I added him into a new group (group20).
After a "su - peter" "groups" gives:
peter group2 group2 group3 ... group20
Despite the fact a "ll" of a directory, which belongs to group20 with permissions 770 does not work.
Now I changed the order of /etc/group: I put group20 into the the first lines.
Result of "groups"-command:
peter group20 group2 group3 ...
Now the "ll" works.
What is the reason of this behaviour?
Regards,
Stefan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:37 AM
02-10-2004 02:37 AM
Re: Order in /etc/group
From the man page for "group":
"The file /etc/group exists to supply names for each
group, and to support changing groups by means of the newgrp utility
(see newgrp(1))."
In order from Pete to benefit from the additional groups he belongs to, he would have to issue the newgrp command. Try that!
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:38 AM
02-10-2004 02:38 AM
Re: Order in /etc/group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:38 AM
02-10-2004 02:38 AM
Re: Order in /etc/group
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
02-10-2004 02:39 AM
02-10-2004 02:39 AM
SolutionI assume that you have linked /etc/group and /etc/logingroup so that no newgrp command is required.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 02:40 AM
02-10-2004 02:40 AM
Re: Order in /etc/group
If I remember correctly, we ran into this limit sometime back. It was allowing only a maximum of 20 groups.
When you changed the order of the group, will "Pete" be able to access files belonging to group 'group19' now the last group?. If not, then you are hitting that limit.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-10-2004 10:15 PM
02-10-2004 10:15 PM
Re: Order in /etc/group
I asked HP.
The maximim 20 is hard coded.
In 2005 they will change that value.
Thank you.
Stefan.