[CVALE] musical groups

Patrick Bennett stnick at bennettbungalow.com
Wed Jan 23 19:22:15 PST 2008


Does anyone know if it is possible, and if so how to do so properly 
either with the command line or editing the /etc/group file, to add 
group A to group B such that all users of group A at any given moment 
are also users of group B?

For example,  joe, tina, and admin belong to the group called 
"administrators", while jane and sam are members of "dialout".  I want 
jan and sam to remain members of "dialout", while adding all members of 
"administrators" to also be members of "dialout".  Furthermore, six 
months from now when diego becomes a new "adminstrator" I want him to 
automatically become a member of "dialout", and he will be replacing 
joe, so when I remove joe from "adminsitrators" I want him to be 
automatically removed from "dialout".

Thus, I want the group "administrators" to be a member of the group 
"dialout".  Is this possible?  (I'm not interested in tricky gui tools 
to do this for me.)

    -Patrick



More information about the cvale mailing list