Summary: NIS / /etc/group / User Setup Question

From: Wesley Suess <wes.suess_at_bigidea.com>
Date: Wed Mar 06 2002 - 11:57:52 EST
Thanks to everyone who responded so quickly.

My original question:

> I have a single group setup in my /etc/group file. It contains almost
> all the users I have. I want to break this group up into several smaller
> groups (separated by department), but for legacy purposes I need to
> maintain the larger group as well. Is it possible to have a group made
> up of other groups? If so, what is the syntax?
>
> I know I could merely create the new groups and then when new users come
> in I could just add the user to both the old large group and the
> department, but that's a silly way to do it, I think. Haveing a group of
> groups would make things a little cleaner/manageable I think.
>

Solution:

You cannot create a group-of-groups. The solutions to
large-group-problems are:

1) Use netgroups and script around groups.

or

2) Create the other groups, but give them the same GID as the original
large group.

I will be using 2).

Thanks everyone! (Especially Fabrice, venki, and Matthew)
-=Wes=-

--
---------------------wes.suess@bigidea.com--------------------
-= Wesley Suess - SSA/Unix - Big Idea Productions - ext6270 =-
--------------------------------------------------------------
"ABILITY, n.  The natural equipment to accomplish some small
part of the meaner ambitions distinguishing able men from
dead ones." - The Patton Diaries
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Mar 6 10:58:10 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:36 EST