Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

grouping a group to a group?

0 views
Skip to first unread message

tuong p

unread,
Jan 4, 2002, 1:31:55 AM1/4/02
to
hey everyone..

my Operating Sys is SCO
i got a suituation where i have users - usr1, usr2, usr3 and usr4
and groups - mastergroup, grp1, grp2

usr1 and usr2 belong to mastergroup
usr3 belongs to grp1 and
usr4 belongs to grp2

i want every user in mastergroup to be able to access contents owned by grp1
and grp2.
So instead of placing all the users from mastergroup to grp1 and grp2
is it possible to place a group in a group (ie mastergroup in grp1 and
rp2 ) ?
or is there another way to do this?

thanks in advances
Tuong.

Barry Margolin

unread,
Jan 4, 2002, 11:14:40 AM1/4/02
to
In article <G%bZ7.43$Fg4....@vicpull1.telstra.net>,

tuong p <tuo...@infosci.com.au> wrote:
>hey everyone..
>
>my Operating Sys is SCO
>i got a suituation where i have users - usr1, usr2, usr3 and usr4
>and groups - mastergroup, grp1, grp2
>
>usr1 and usr2 belong to mastergroup
>usr3 belongs to grp1 and
>usr4 belongs to grp2
>
>i want every user in mastergroup to be able to access contents owned by grp1
>and grp2.
>So instead of placing all the users from mastergroup to grp1 and grp2
>is it possible to place a group in a group (ie mastergroup in grp1 and
>rp2 ) ?

No, Unix doesn't support nested groups.

>or is there another way to do this?

Not AFAIK.

--
Barry Margolin, bar...@genuity.net
Genuity, Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

Nicholas Bachmann

unread,
Jan 4, 2002, 6:06:17 PM1/4/02
to
tuong p wrote:

You might have luck with ACLs, but for most situations that might be a
little overboard...

--
Regards,
N
+----------------------------------------------+
+ Nicholas Bachmann <nabac...@yahoo.com> +
+ Promo of the week: +
+ Go check out Leafnode for a good news server +
+----------------------------------------------+

Ed Allen

unread,
Jan 14, 2002, 12:01:25 AM1/14/02
to
In article <G%bZ7.43$Fg4....@vicpull1.telstra.net>,
tuong p <tuo...@infosci.com.au> wrote:
The only way is to list all members of the master group as
members of all three groups.

/etc/group:

master:x:1000:abe,tom,xena,frank
grp1:x:sally,sheila,susan,abe,tom,xena,frank
grp2:x:joe,jim,george,hank,abe,tom,xena,frank

A user can belong to multiple groups. The particular number
allowed differs between systems. The primary or login
group is used as the group owner of files they create but
they can read and write the ones from other groups they
belong to.


--
Unix has security which has been tested by conniving, unscrupulous
college students over generations.

0 new messages