- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Groups in groups in the /etc/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
05-01-2001 03:39 PM
05-01-2001 03:39 PM
Groups in groups in the /etc/group file
For Example:
groupa::100:me
groupb::200:you
groupc::300:groupa,groupb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 03:55 PM
05-01-2001 03:55 PM
Re: Groups in groups in the /etc/group file
This is impossible
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 05:34 PM
05-01-2001 05:34 PM
Re: Groups in groups in the /etc/group file
Nope, can't put a group in a group. See the man page for the group(4) file for more information.
--Bruce
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2001 06:13 PM
05-01-2001 06:13 PM
Re: Groups in groups in the /etc/group file
users::20:root,sys
sys::3:root,uucp
with sys being the group, and after saving the /etc/group. at the command line type "groups uucp" provided uucp is not stated specifically under group users it will return only sys. this can cause confusion because in many cases there are users that are also groups such as root,lp,bin. hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 04:00 AM
05-02-2001 04:00 AM
Re: Groups in groups in the /etc/group file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 04:19 AM
05-02-2001 04:19 AM
Re: Groups in groups in the /etc/group file
However, just one extra thing here, make sure /etc/logingroup is linked to /etc/group otherwise the users in say groupa will need to loginto groupa if it is not their primary group!
link the group & login group file
# ln -s /etc/group /etc/logingroup
Check it
#ls -l /etc/*group
-r--r--r-- 1 bin bin 310 Apr 30 10:43 /etc/group
lrwxr-xr-x 1 root sys 10 May 2 13:21 /etc/logingroup@ -> /etc/group
Cheers
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 06:22 AM
05-02-2001 06:22 AM
Re: Groups in groups in the /etc/group file
Let us go to basics ,ie a collection of user form a group . So infact you can have a group with a collection of groups however you can have the groupC with all the memebers of groupA and groupB.
Manoj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2001 06:29 AM
05-02-2001 06:29 AM
Re: Groups in groups in the /etc/group file
So infact you can not have a group with a collection of groups however you can have the groupC with all the memebers of groupA and groupB.